Top "Infrastructure-as-code" questions

Infrastructure as Code (IaC) is the process of managing and provisioning computer data centers through machine-readable definition files, rather than physical hardware configuration or interactive configuration tools.

CloudFormation Resource Creation if not exist

I want to create Route53 HostedZone with CloudFormation so I want to check some information in Route53 about HostedZone is …

amazon-web-services amazon-cloudformation devops infrastructure-as-code
Terraform Nested Module Calling and Outputs

I'm working on infrastructure provisioning, so I'm calling modules as nested. There is my file system tree. ├── main.tf └── modules ├── …

amazon-web-services terraform devops infrastructure-as-code
How do you dynamically create an AWS IAM policy document with a variable number of resource blocks using terraform?

In my current terraform configuration I am using a static JSON file and importing into terraform using the file function …

json amazon-web-services terraform amazon-iam infrastructure-as-code
Error deleting Target Group: ResourceInUse when changing target ports in AWS through Terraform

I am currently working through the beta book "Terraform Up & Running, 2nd Edition". In chapter 2, I created an auto …

amazon-web-services cloud terraform devops infrastructure-as-code