-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
WIP Create SANless certificate when removing all SANs from certificate #8756
WIP Create SANless certificate when removing all SANs from certificate #8756
Conversation
This should recreate the certificate without any SANs (other than the CN on the actual certificate rather than the API representation). Right now if you change the SANs or add some then it will recreate the certificate but completely removing the SANs doesn't work.
Just raised with the failing test right now as I haven't had a chance to work out what's broken here:
|
Hmmm, is this actually a core issue? Having not seen anything obviously wrong here I checked another |
Hi @tomelliff 👋 The behavior you are noticing with the To remove all elements a TypeList/TypeSet attribute when it was previously configured with multiple elements, it can either be set to an empty list, e.g. resource "aws_acm_certificate" "example" {
# ... other configuration ...
subject_alternative_names = []
} Or the Since this pull request only contains a testing change and since we likely do not want to adjust the attribute's behavior with relation to the |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
This should recreate the certificate without any SANs (other than the CN on the actual certificate rather than the API representation).
Right now if you change the SANs or add some then it will recreate the certificate but completely removing the SANs doesn't work.
Community Note
Fixes #8755
Release note for CHANGELOG:
Output from acceptance testing: