Artwork

内容由Software Engineering提供。所有播客内容(包括剧集、图形和播客描述)均由 Software Engineering 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal
Player FM -播客应用
使用Player FM应用程序离线!

Terraform Main Operations and state file

5:31
 
分享
 

Manage episode 331644611 series 3112408
内容由Software Engineering提供。所有播客内容(包括剧集、图形和播客描述)均由 Software Engineering 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.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

361集单集

Artwork
icon分享
 
Manage episode 331644611 series 3112408
内容由Software Engineering提供。所有播客内容(包括剧集、图形和播客描述)均由 Software Engineering 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.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

361集单集

Todos los episodios

×
 
Loading …

欢迎使用Player FM

Player FM正在网上搜索高质量的播客,以便您现在享受。它是最好的播客应用程序,适用于安卓、iPhone和网络。注册以跨设备同步订阅。

 

快速参考指南

版权2025 | 隐私政策 | 服务条款 | | 版权
边探索边听这个节目
播放