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
Ensure domain names & SANs are lower-case #46
Conversation
If you provide an upper-case domain name, this module fails with the following error: on .terraform/modules/my_certificate/main.tf line 37, in resource "aws_route53_record" "default": 37: name = each.value.name A reference to "each.value" has been used in a context in which it unavailable, such as when the configuration no longer contains the value in its "for_each" expression. Remove this reference to each.value in your configuration to work around this error.
Variable validation requires 0.13.0.
This pull request is now in conflict. Could you fix it @alexjurkiewicz? 🙏 |
@alexjurkiewicz mind fixing the merge conflicts and we'll get this merged? Seems valid and I'm sure we can bump the minimum version of tf for this module at this point. |
done 🙏 |
/test all |
/test terratest |
|
Whoops, inverted condition, pushed a fix |
/test all |
/test terratest |
Huh we're getting the following:
I don't have time to look into now, but possibly a problem with the test suite overall? |
I can't see how it's related to this PR, at least. |
@Gowiem @alexjurkiewicz This PR will fix the test #48 |
/test all |
This pull request is now in conflict. Could you fix it @alexjurkiewicz? 🙏 |
If you provide an upper-case domain name, this module fails with the following error:
on .terraform/modules/my_certificate/main.tf line 37, in resource "aws_route53_record" "default":
37: name = each.value.name
A reference to "each.value" has been used in a context in which it
unavailable, such as when the configuration no longer contains the value in
its "for_each" expression. Remove this reference to each.value in your
configuration to work around this error.
what
why
references
closes #123
, if this PR closes a GitHub issue#123