Open florian-besser opened 8 months ago
Voting for Prioritization
Volunteering to Work on This Issue
Hey @florian-besser 👋 Thank you for taking the time to raise this! Looking at the schema, some things jump out at me.
First, default value is ENABLED
, so you can safely omit this argument, and it will default to your desired setting. The validation currently throws an error if both certificate_transparency_logging_preference
and private_key
are set. I assume this was in response to this AWS document, and is attempting to force users to leave certificate_transparency_logging_preference
enabled if a private_key
is set. I think this could be handled a bit more elegantly (and with a more descriptive output), so I'd like to leave this open as an enhancement request.
Description
Enhance aws_acm_certificate to showcase how a certificate can be imported so that certificate_transparency_logging_preference is ENABLED
Affected Resource(s) and/or Data Source(s)
Potential Terraform Configuration
References
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/acm_certificate
Would you like to implement a fix?
None