Skip to content
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

Fix aws_acm_certificate.private_key mapping and remove the rule #576

Merged
merged 1 commit into from
Nov 18, 2023

Conversation

wata727
Copy link
Member

@wata727 wata727 commented Nov 18, 2023

Fixes #573

Looking at the AWS provider's implementation, aws_acm_certificate.private_key refers to PrivateKeyBlob, not PrivateKey.

https://github.com/hashicorp/terraform-provider-aws/blob/v5.26.0/internal/service/acm/certificate.go#L382
https://github.com/aws/aws-sdk-go/blob/v1.48.0/models/apis/acm/2015-12-08/api-2.json#L596

This PR fixes the mapping and regenerate rules. Note that as a result, there is a breaking change in which the aws_acm_certificate_invalid_private_key rule is removed.

@wata727 wata727 merged commit b58242c into master Nov 18, 2023
8 checks passed
@wata727 wata727 deleted the fix_private_key_mapping branch November 18, 2023 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

aws_acm_certificate_invalid_private_key should allow for RSA private key content
1 participant