git clone https://github.com/tty8747/terraform_aws_inst_dns.git
- Create s3 bucket for tfstate:
aws s3api create-bucket --bucket ec00-bucket --region eu-central-1 --create-bucket-configuration LocationConstraint=eu-central-1
terraform init
- Fill credentials:
$ cat ~/.aws/credentials
[default]
aws_access_key_id = XXXXXXXXXXXXXXXX
aws_secret_access_key = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
terraform validate
- Set
CA_PASS
intomain.yml
- Change parameters inside
provision/main.yml
file terraform apply