Artwork

Treść dostarczona przez Software Engineering. Cała zawartość podcastów, w tym odcinki, grafika i opisy podcastów, jest przesyłana i udostępniana bezpośrednio przez Software Engineering lub jego partnera na platformie podcastów. Jeśli uważasz, że ktoś wykorzystuje Twoje dzieło chronione prawem autorskim bez Twojej zgody, możesz postępować zgodnie z procedurą opisaną tutaj https://pl.player.fm/legal.
Player FM - aplikacja do podcastów
Przejdź do trybu offline z Player FM !

Terraform Main Operations and state file

5:31
 
Udostępnij
 

Manage episode 331644611 series 3112408
Treść dostarczona przez Software Engineering. Cała zawartość podcastów, w tym odcinki, grafika i opisy podcastów, jest przesyłana i udostępniana bezpośrednio przez Software Engineering lub jego partnera na platformie podcastów. Jeśli uważasz, że ktoś wykorzystuje Twoje dzieło chronione prawem autorskim bez Twojej zgody, możesz postępować zgodnie z procedurą opisaną tutaj https://pl.player.fm/legal.

Terraform main operations such as init plan apply and destroy and the state file telephone is a infrastructure as code tool a command line to help us create infrastructure with standard adjacent files and then run telephone apply in order to actually create this infrastructure either in AWS cloud or Google cloud or azure cloud or any other cloud provider even locally and it has many plugins.

In this session

  • init plan apply destroy
  • state file
  • variables
  • terraform pattern consistentresource keyword
    resource identifier "aws_vpc"
    our name "mypc"
    in curly braces the parametesrs like cidr_block = "10.0.0.0/16"
  • terraform initi's like mvn install
    Download the plugins to use aws
    We can run this command after created main.tf
    pull down modules
  • terraform planwill show what's its going to do
    checks stateGet developer style diff before commit
    What already created which diff
    don't want to loose this state file
  • terraform applyshowing the diff
    click yes to continue
    resources created in aws!
  • terraform destroyto delete all reources
    confirm
  • state file terraform.tfstatewe can see locally all that we created with terraform!
    this file will have ALL resources created by terraform
    visibility!
    we want this file to get missing
    json format
    .bak
    track changes we made
    used for diff

Terraform main operations and components are:
- [1] init [2] plan [3] apply [4] destroy
- State files
- variables
- terraform pattern consistent
- resource keyword
- resource identifier "aws_vpc"
- our name "mypc"
- in curly braces the parametesrs like cidr_block = "10.0.0.0/16"
- `terraform init`
- i's like mvn install
- Download the plugins to use aws
- We can run this command after created main.tf
- pull down modules
- `terraform plan`
- will show what's its going to do
- checks state
- Get developer style diff before commit
- What already created which diff
- don't want to loose this state file
- `terraform apply`
- showing the diff
- click `yes` to continue
- resources created in aws!
- `terraform destroy`
- to delete all reources
- confirm
- `state file` `terraform.tfstate`
- we can see locally all that we created with terraform!
- this file will have ALL resources created by terraform
- visibility!
- we want this file to get missing
- json format
- .bak
- track changes we made
- used for diff
  continue reading

269 odcinków

Artwork
iconUdostępnij
 
Manage episode 331644611 series 3112408
Treść dostarczona przez Software Engineering. Cała zawartość podcastów, w tym odcinki, grafika i opisy podcastów, jest przesyłana i udostępniana bezpośrednio przez Software Engineering lub jego partnera na platformie podcastów. Jeśli uważasz, że ktoś wykorzystuje Twoje dzieło chronione prawem autorskim bez Twojej zgody, możesz postępować zgodnie z procedurą opisaną tutaj https://pl.player.fm/legal.

Terraform main operations such as init plan apply and destroy and the state file telephone is a infrastructure as code tool a command line to help us create infrastructure with standard adjacent files and then run telephone apply in order to actually create this infrastructure either in AWS cloud or Google cloud or azure cloud or any other cloud provider even locally and it has many plugins.

In this session

  • init plan apply destroy
  • state file
  • variables
  • terraform pattern consistentresource keyword
    resource identifier "aws_vpc"
    our name "mypc"
    in curly braces the parametesrs like cidr_block = "10.0.0.0/16"
  • terraform initi's like mvn install
    Download the plugins to use aws
    We can run this command after created main.tf
    pull down modules
  • terraform planwill show what's its going to do
    checks stateGet developer style diff before commit
    What already created which diff
    don't want to loose this state file
  • terraform applyshowing the diff
    click yes to continue
    resources created in aws!
  • terraform destroyto delete all reources
    confirm
  • state file terraform.tfstatewe can see locally all that we created with terraform!
    this file will have ALL resources created by terraform
    visibility!
    we want this file to get missing
    json format
    .bak
    track changes we made
    used for diff

Terraform main operations and components are:
- [1] init [2] plan [3] apply [4] destroy
- State files
- variables
- terraform pattern consistent
- resource keyword
- resource identifier "aws_vpc"
- our name "mypc"
- in curly braces the parametesrs like cidr_block = "10.0.0.0/16"
- `terraform init`
- i's like mvn install
- Download the plugins to use aws
- We can run this command after created main.tf
- pull down modules
- `terraform plan`
- will show what's its going to do
- checks state
- Get developer style diff before commit
- What already created which diff
- don't want to loose this state file
- `terraform apply`
- showing the diff
- click `yes` to continue
- resources created in aws!
- `terraform destroy`
- to delete all reources
- confirm
- `state file` `terraform.tfstate`
- we can see locally all that we created with terraform!
- this file will have ALL resources created by terraform
- visibility!
- we want this file to get missing
- json format
- .bak
- track changes we made
- used for diff
  continue reading

269 odcinków

Wszystkie odcinki

×
 
Loading …

Zapraszamy w Player FM

Odtwarzacz FM skanuje sieć w poszukiwaniu wysokiej jakości podcastów, abyś mógł się nią cieszyć już teraz. To najlepsza aplikacja do podcastów, działająca na Androidzie, iPhonie i Internecie. Zarejestruj się, aby zsynchronizować subskrypcje na różnych urządzeniach.

 

Skrócona instrukcja obsługi