-
Notifications
You must be signed in to change notification settings - Fork 184
lb and eip resource changes in terraform #627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
here is one example for a typical use case (which should probably just be a feature of bbl instead of a customization) would be adding a set of input variables that hold CIDRs for various security groups. Right now that does not seem possible as the only input variable we have to use is bosh_director_cidr which only hits the jumpbox. |
error message on aws_lb (this is corrected with the dynamic subnet_mapping chunk posted above): Error: Incorrect attribute value type |
quick note: I was able to get a terraform destroy to run and cleanup a customized infrastructure by just renaming my bbl_override.tf to bbl_custom.tf, copying the terraform.tfstate and variable files into the terraform directory and then running a terraform destroy manually. |
ok final update from my testing today: the --lb-type concourse switch breaks Not 100% sure if this is related to version of terraform, but I am using the latest version 1.10.5 |
the terraform is provided with the bootloader cli. |
I did not specify a local version so it must have been using the version of terraform included in BBL 9.0.30 I don't think this issue is related to that PR as that is related to CF ALB and this is regarding the Concourse NLB. To replicate the issue, simply try to stand up a fresh vanilla bbl up with --lb-type concourse in AWS, it just fails. |
It looks like another way to solve this error would be to use the 'flatten' function on the subnets property sort of like this: subnets = flatten("${aws_subnet.lb_subnets.*.id}") I haven't tested this code but did see it out there somewhere as a workaround for this issue realized i saw this on the PR #597 you had referenced.... |
if you could confirm this. you can create a PR and we can merge your fix. |
PR has been created |
I am running into three issues when customizing the security groups and using static IPs for a concourse network lb using bbl
This one is more of a "nice to have"
2) aws_lb does not like the subnet entry when trying to use Elastic IPs:
subnets = ["${aws_subnet.lb_subnets.*.id}"]
This generates an error when you run bbl up using EIPs
The correct syntax for mapping subnets to EIPs in aws_lb:
new resource for lb eips
Is there a reason why bbl-template.tf is being replaced during a bbl destroy?
The text was updated successfully, but these errors were encountered: