Closed JamesTimms closed 3 years ago
I added a fix found for a related issue I explained in #19 which only effected Terraform 0.12.11+
@nitrocode @Gowiem Any chance of this being reviewed?
@JamesTimms Can you fix your conflict?
/test all
@Gowiem I've merged master but saw someone made a similar fix to one of the issues using try(). So I've changed my fix to use try() instead of length() and a ternary. It seems to work fine for me as long as I'm on a version on Terraform that supports try().
/test all
@nitrocode & @Gowiem is this ok to merge now or do you need a few more changes?
@JamesTimms thanks for the PR.
Looks like in the final version you removed count = local.count
and the final changes are not reflected in the PR description.
I think the count
needs to be added anyway to prevent the resources from being created when enabled=false
.
You final changes are ok, they make TF to not throw errors when data.aws_subnet_ids.accepter.*.ids
does not exist.
Please update.
@aknysh, I think someone added the count into a different PR that's made its way into master as the count is still there but not showing up in the diff.
Which lines exactly do you think I've removed count from? The commit here, shows me adding them but then looking at the files (here and here) you can see they're still there despite not showing up in the diff.
Is this likely to get merged?
@aknysh I think the count change is not showing in this PR because it was added here: https://github.com/cloudposse/terraform-aws-vpc-peering-multi-account/commit/071e574b62abb4bf9c20820c114096cf25b5cc9e
@JamesTimms given the above, maybe good to update the PR description to match the remaining changes in this PR.
@aknysh I think the count change is not showing in this PR because it was added here: 071e574
@JamesTimms given the above, maybe good to update the PR description to match the remaining changes in this PR.
Agree with @joe-niland , please update the PR description
@JamesTimms thanks again, just a few nitpicks
I've updated to use empty arrays, including a related change that got into master via some other change. Let me know if this is good enough to merge!
/test all
/test all
/rebuild-readme
/test all
Thanks for your contribution @JamesTimms !
what
why
references
closes #19