Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Hacky fix for terraform length error #196

Merged
merged 1 commit into from
Oct 4, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ Setup a deployment of ElasticSearch using the elastic.co SaaS service. (They off
On completion, fill in the `es_*` settings in the global `terraform.tfvars` - see below.


**You must have valid AWS credentials in [`~/.aws/credentials`](http://docs.aws.amazon.com/amazonswf/latest/awsrbflowguide/set-up-creds.html)**

### Global terraform.tfvars

You need to set the values in `infra/terraform/global/terraform.tfvars`:
Expand Down Expand Up @@ -132,6 +130,10 @@ terraform init -backend-config "bucket=$TERRAFORM_STATE_BUCKET_NAME"
# You can check the configured platform backend:
grep \"key\" -C 1 .terraform/terraform.tfstate

# HACK: You need to do this 'terraform apply' before the main 'terraform plan' or you get this error:
# `module.ses_domain.aws_route53_record.domain_amazonses_dkim_verification_record: aws_route53_record.domain_amazonses_dkim_verification_record: value of 'count' cannot be computed`
terraform apply -target aws_route53_record.aws_ses_domain_dkim

# check the Terraform plans to create global infra (e.g. the Kops S3 bucket and a root DNS zone in Route53)
terraform plan -var-file="assets/create_etcd_ebs_snapshot/create_etcd_ebs_snapshots.tfvars" -var-file="assets/prune_ebs_snapshots/vars_prune_ebs_snapshots.tfvars"

Expand Down