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

Hacky fix for terraform length error #196

merged 1 commit into from
Oct 4, 2018

Conversation

davidread
Copy link
Contributor

Doing the global terraform setup from scratch I encountered this error:

$ 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"

* 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

It sounds like this problem:
hashicorp/terraform#12570

I found this workaround:

terraform apply -target aws_route53_record.aws_ses_domain_dkim

Perhaps we should merge this fix while we think if it can be fixed in a better way in future.

@davidread davidread requested a review from xoen October 4, 2018 08:48
Copy link
Contributor

@xoen xoen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird, maybe the resources it's trying to loop are not there at the time of the apply 🤷‍♂️ - but good to add a note.

@davidread davidread merged commit 2529bff into master Oct 4, 2018
@davidread davidread deleted the fix-ses-count branch October 4, 2018 10:33
davidread pushed a commit that referenced this pull request Jul 29, 2020
Hacky fix for terraform length error
davidread pushed a commit that referenced this pull request Jul 29, 2020
Hacky fix for terraform length error
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants