목록IaC/terraform (8)
스마트시대

I will make VPN env. like this. To make variables.tf and vpc.tf. For variable, let me make availability zone , name is 'az', and set the seoul region. So, they are the comparison between terraform code and cloudformation templates(CFT, YAML). On left side, there is terraform code and on right side, there is CFT code. At first, I made VPCCidr and described like this. This is for subnet of public ..

https://learn.hashicorp.com/tutorials/terraform/aws-iam-policy?in=terraform/aws Create IAM Policies | Terraform - HashiCorp Learn Use Terraform to apply policy permissions to IAM user and S3 bucket resources. Refactor your policy with the IAM policy document data source to automatically format your JSON policies for reuse. learn.hashicorp.com Git clone from the URL above. Add the code above. and..

https://learn.hashicorp.com/tutorials/terraform/aws-remote?in=terraform/aws-get-started Store Remote State | Terraform - HashiCorp Learn Configure Terraform to store state in Terraform Cloud remote backend. Add a remote state block directly to configuration or set an environment variable to load remote state configuration when Terraform initializes. learn.hashicorp.com Terraform cloud is for the..

Make the output.tf file and write the code. This is about instance ID and Public IP address. Terraform apply and Enter a value. Write "terraform output" and check the output things.

https://learn.hashicorp.com/tutorials/terraform/aws-variables?in=terraform/aws-get-started Define Input Variables | Terraform - HashiCorp Learn Declare your AWS EC2 instance name as a variable. Reference the variable in Terraform configuration. Define variables using command line flags and default values. learn.hashicorp.com For practice, I make the EC2 which I made last time again. https://spdn..

https://learn.hashicorp.com/tutorials/terraform/aws-destroy?in=terraform/aws-get-started Destroy Infrastructure | Terraform - HashiCorp Learn Destroy the AWS EC2 instance you created in the previous tutorials. Evaluate the plan and confirm the destruction. learn.hashicorp.com - 아래에서 만든 EC2를 상단과 같이 삭제할 수 있다. destory할 내용을 확인한 후 https://spdnl.tistory.com/73 Build and change Infrastructure https://l..

https://learn.hashicorp.com/tutorials/terraform/aws-build?in=terraform/aws-get-started Build Infrastructure | Terraform - HashiCorp Learn Authenticate to AWS and create an EC2 instance under the AWS free tier. Write and validate Terraform configuration, initialize a configuration directory, and plan and apply a configuration to create infrastructure. learn.hashicorp.com 테라폼 실행하지 전에 MAC terminal에..

https://brew.sh Homebrew The Missing Package Manager for macOS (or Linux). brew.sh https://learn.hashicorp.com/tutorials/terraform/install-cli?in=terraform/aws-get-started Install Terraform | Terraform - HashiCorp Learn Install Terraform on Mac, Linux, or Windows by downloading the binary or using a package manager (Homebrew or Chocolatey). Then create a Docker container locally by following a q..