-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modules/aws/bootstrap: Add elbs_length
To work around Terraform's limitations on length() of computed lists at plan-time [1]. By avoiding the generated resources and just computing the number of elastic load-balancers based on our input counts, we avoid confusing Terraform and getting [2]: * module.bootstrap.aws_elb_attachment.bootstrap: aws_elb_attachment.bootstrap: value of 'count' cannot be computed The value of 2 comes from: * One internal LB (either aws_elb.api_internal or aws_elb.api_external) and * One aws_elb.console. [1]: hashicorp/terraform#12570 (comment) [2]: https://storage.googleapis.com/origin-ci-test/pr-logs/pull/openshift_installer/268/pull-ci-openshift-installer-e2e-aws/316/build-log.txt
- Loading branch information
Showing
4 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters