-
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
r/aws_sesv2_email_identity: new resource #27260
r/aws_sesv2_email_identity: new resource #27260
Conversation
Community NoteVoting for Prioritization
For Submitters
|
Read only for now. They will be made updatable in the upcoming commits.
dad146e
to
0d5125c
Compare
The CreateEmailIdentity action does not cover all email identity attributes. Additional configuration can be done through CreateEmailIdentityPolicy, PutEmailIdentityDkimAttributes(signing enabled), PutEmailIdentityFeedbackAttributes, PutEmailIdentityMailFromAttributes. I'd say we should follow the most recent preferences/tendency of splitting out PUT APIs into their own resources, especially since the main create action (CreateEmailIdentity) does not allow configuring all attributes. This would mean creating related resources (provisional names): |
The failing CI check is not related to this PR. |
@kamilturek Yes, I'm addressing that failing CI check via #27425. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀.
% make testacc TESTARGS='-run=TestAccSESV2EmailIdentity_' PKG=sesv2 ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/sesv2/... -v -count 1 -parallel 2 -run=TestAccSESV2EmailIdentity_ -timeout 180m
=== RUN TestAccSESV2EmailIdentity_basic_emailAddress
=== PAUSE TestAccSESV2EmailIdentity_basic_emailAddress
=== RUN TestAccSESV2EmailIdentity_basic_domain
=== PAUSE TestAccSESV2EmailIdentity_basic_domain
=== RUN TestAccSESV2EmailIdentity_disappears
=== PAUSE TestAccSESV2EmailIdentity_disappears
=== RUN TestAccSESV2EmailIdentity_configurationSetName
=== PAUSE TestAccSESV2EmailIdentity_configurationSetName
=== RUN TestAccSESV2EmailIdentity_nextSigningKeyLength
=== PAUSE TestAccSESV2EmailIdentity_nextSigningKeyLength
=== RUN TestAccSESV2EmailIdentity_domainSigning
=== PAUSE TestAccSESV2EmailIdentity_domainSigning
=== RUN TestAccSESV2EmailIdentity_tags
=== PAUSE TestAccSESV2EmailIdentity_tags
=== CONT TestAccSESV2EmailIdentity_basic_emailAddress
=== CONT TestAccSESV2EmailIdentity_domainSigning
--- PASS: TestAccSESV2EmailIdentity_basic_emailAddress (20.16s)
=== CONT TestAccSESV2EmailIdentity_tags
--- PASS: TestAccSESV2EmailIdentity_domainSigning (34.03s)
=== CONT TestAccSESV2EmailIdentity_configurationSetName
--- PASS: TestAccSESV2EmailIdentity_tags (42.33s)
=== CONT TestAccSESV2EmailIdentity_nextSigningKeyLength
--- PASS: TestAccSESV2EmailIdentity_configurationSetName (31.75s)
=== CONT TestAccSESV2EmailIdentity_disappears
--- PASS: TestAccSESV2EmailIdentity_disappears (13.21s)
=== CONT TestAccSESV2EmailIdentity_basic_domain
--- PASS: TestAccSESV2EmailIdentity_nextSigningKeyLength (32.26s)
--- PASS: TestAccSESV2EmailIdentity_basic_domain (19.41s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/sesv2 102.453s
@kamilturek Thanks for the contribution 🎉 👏. |
@ewbankkit #24436 this is the most frustrating PR I ever made, thank you. Keep going with your opensource policy and people will praise you. |
This functionality has been released in v4.37.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
This PR introduces new
aws_sesv2_email_identity
resource.Relations
Relates #26796.
Closes #26927.
Closes #21129.
Closes #19363.
Closes #23312.
Closes #21672.
References
https://docs.aws.amazon.com/ses/latest/APIReference-V2/Welcome.html
Output from Acceptance Testing