-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Add new sesv2 attributes #40194
Add new sesv2 attributes #40194
Conversation
Community NoteVoting for Prioritization
For Submitters
|
Thank you for adding this PR. I have been doing this via the console. |
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 👍
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=TestAccSESV2ConfigurationSet_\|TestAccSESV2ConfigurationSetDataSource_' PKG=sesv2 ACCTEST_PARALLELISM=4
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.3 test ./internal/service/sesv2/... -v -count 1 -parallel 4 -run=TestAccSESV2ConfigurationSet_\|TestAccSESV2ConfigurationSetDataSource_ -timeout 360m
2024/12/12 10:36:34 Initializing Terraform AWS Provider...
=== RUN TestAccSESV2ConfigurationSetDataSource_tags
=== PAUSE TestAccSESV2ConfigurationSetDataSource_tags
=== RUN TestAccSESV2ConfigurationSetDataSource_tags_NullMap
=== PAUSE TestAccSESV2ConfigurationSetDataSource_tags_NullMap
=== RUN TestAccSESV2ConfigurationSetDataSource_tags_EmptyMap
=== PAUSE TestAccSESV2ConfigurationSetDataSource_tags_EmptyMap
=== RUN TestAccSESV2ConfigurationSetDataSource_tags_DefaultTags_nonOverlapping
=== PAUSE TestAccSESV2ConfigurationSetDataSource_tags_DefaultTags_nonOverlapping
=== RUN TestAccSESV2ConfigurationSetDataSource_tags_IgnoreTags_Overlap_DefaultTag
=== PAUSE TestAccSESV2ConfigurationSetDataSource_tags_IgnoreTags_Overlap_DefaultTag
=== RUN TestAccSESV2ConfigurationSetDataSource_tags_IgnoreTags_Overlap_ResourceTag
=== PAUSE TestAccSESV2ConfigurationSetDataSource_tags_IgnoreTags_Overlap_ResourceTag
=== RUN TestAccSESV2ConfigurationSetDataSource_basic
=== PAUSE TestAccSESV2ConfigurationSetDataSource_basic
=== RUN TestAccSESV2ConfigurationSet_tags
=== PAUSE TestAccSESV2ConfigurationSet_tags
=== RUN TestAccSESV2ConfigurationSet_tags_null
=== PAUSE TestAccSESV2ConfigurationSet_tags_null
=== RUN TestAccSESV2ConfigurationSet_tags_EmptyMap
=== PAUSE TestAccSESV2ConfigurationSet_tags_EmptyMap
=== RUN TestAccSESV2ConfigurationSet_tags_AddOnUpdate
=== PAUSE TestAccSESV2ConfigurationSet_tags_AddOnUpdate
=== RUN TestAccSESV2ConfigurationSet_tags_EmptyTag_OnCreate
=== PAUSE TestAccSESV2ConfigurationSet_tags_EmptyTag_OnCreate
=== RUN TestAccSESV2ConfigurationSet_tags_EmptyTag_OnUpdate_Add
=== PAUSE TestAccSESV2ConfigurationSet_tags_EmptyTag_OnUpdate_Add
=== RUN TestAccSESV2ConfigurationSet_tags_EmptyTag_OnUpdate_Replace
=== PAUSE TestAccSESV2ConfigurationSet_tags_EmptyTag_OnUpdate_Replace
=== RUN TestAccSESV2ConfigurationSet_tags_DefaultTags_providerOnly
=== PAUSE TestAccSESV2ConfigurationSet_tags_DefaultTags_providerOnly
=== RUN TestAccSESV2ConfigurationSet_tags_DefaultTags_nonOverlapping
=== PAUSE TestAccSESV2ConfigurationSet_tags_DefaultTags_nonOverlapping
=== RUN TestAccSESV2ConfigurationSet_tags_DefaultTags_overlapping
=== PAUSE TestAccSESV2ConfigurationSet_tags_DefaultTags_overlapping
=== RUN TestAccSESV2ConfigurationSet_tags_DefaultTags_updateToProviderOnly
=== PAUSE TestAccSESV2ConfigurationSet_tags_DefaultTags_updateToProviderOnly
=== RUN TestAccSESV2ConfigurationSet_tags_DefaultTags_updateToResourceOnly
=== PAUSE TestAccSESV2ConfigurationSet_tags_DefaultTags_updateToResourceOnly
=== RUN TestAccSESV2ConfigurationSet_tags_DefaultTags_emptyResourceTag
=== PAUSE TestAccSESV2ConfigurationSet_tags_DefaultTags_emptyResourceTag
=== RUN TestAccSESV2ConfigurationSet_tags_DefaultTags_emptyProviderOnlyTag
=== PAUSE TestAccSESV2ConfigurationSet_tags_DefaultTags_emptyProviderOnlyTag
=== RUN TestAccSESV2ConfigurationSet_tags_DefaultTags_nullOverlappingResourceTag
=== PAUSE TestAccSESV2ConfigurationSet_tags_DefaultTags_nullOverlappingResourceTag
=== RUN TestAccSESV2ConfigurationSet_tags_DefaultTags_nullNonOverlappingResourceTag
=== PAUSE TestAccSESV2ConfigurationSet_tags_DefaultTags_nullNonOverlappingResourceTag
=== RUN TestAccSESV2ConfigurationSet_tags_ComputedTag_OnCreate
=== PAUSE TestAccSESV2ConfigurationSet_tags_ComputedTag_OnCreate
=== RUN TestAccSESV2ConfigurationSet_tags_ComputedTag_OnUpdate_Add
=== PAUSE TestAccSESV2ConfigurationSet_tags_ComputedTag_OnUpdate_Add
=== RUN TestAccSESV2ConfigurationSet_tags_ComputedTag_OnUpdate_Replace
=== PAUSE TestAccSESV2ConfigurationSet_tags_ComputedTag_OnUpdate_Replace
=== RUN TestAccSESV2ConfigurationSet_tags_IgnoreTags_Overlap_DefaultTag
=== PAUSE TestAccSESV2ConfigurationSet_tags_IgnoreTags_Overlap_DefaultTag
=== RUN TestAccSESV2ConfigurationSet_tags_IgnoreTags_Overlap_ResourceTag
=== PAUSE TestAccSESV2ConfigurationSet_tags_IgnoreTags_Overlap_ResourceTag
=== RUN TestAccSESV2ConfigurationSet_basic
=== PAUSE TestAccSESV2ConfigurationSet_basic
=== RUN TestAccSESV2ConfigurationSet_disappears
=== PAUSE TestAccSESV2ConfigurationSet_disappears
=== RUN TestAccSESV2ConfigurationSet_deliveryOptions
=== PAUSE TestAccSESV2ConfigurationSet_deliveryOptions
=== RUN TestAccSESV2ConfigurationSet_reputationMetricsEnabled
=== PAUSE TestAccSESV2ConfigurationSet_reputationMetricsEnabled
=== RUN TestAccSESV2ConfigurationSet_sendingEnabled
=== PAUSE TestAccSESV2ConfigurationSet_sendingEnabled
=== RUN TestAccSESV2ConfigurationSet_suppressedReasons
=== PAUSE TestAccSESV2ConfigurationSet_suppressedReasons
=== RUN TestAccSESV2ConfigurationSet_suppressedReasonsEmpty
=== PAUSE TestAccSESV2ConfigurationSet_suppressedReasonsEmpty
=== RUN TestAccSESV2ConfigurationSet_engagementMetrics
=== PAUSE TestAccSESV2ConfigurationSet_engagementMetrics
=== RUN TestAccSESV2ConfigurationSet_optimizedSharedDelivery
=== PAUSE TestAccSESV2ConfigurationSet_optimizedSharedDelivery
=== CONT TestAccSESV2ConfigurationSetDataSource_tags
=== CONT TestAccSESV2ConfigurationSet_tags_DefaultTags_emptyResourceTag
=== CONT TestAccSESV2ConfigurationSet_tags_AddOnUpdate
=== CONT TestAccSESV2ConfigurationSetDataSource_tags_IgnoreTags_Overlap_ResourceTag
--- PASS: TestAccSESV2ConfigurationSetDataSource_tags (11.91s)
=== CONT TestAccSESV2ConfigurationSetDataSource_tags_DefaultTags_nonOverlapping
--- PASS: TestAccSESV2ConfigurationSetDataSource_tags_IgnoreTags_Overlap_ResourceTag (12.76s)
=== CONT TestAccSESV2ConfigurationSetDataSource_tags_IgnoreTags_Overlap_DefaultTag
--- PASS: TestAccSESV2ConfigurationSet_tags_DefaultTags_emptyResourceTag (14.96s)
=== CONT TestAccSESV2ConfigurationSet_basic
--- PASS: TestAccSESV2ConfigurationSetDataSource_tags_DefaultTags_nonOverlapping (10.94s)
=== CONT TestAccSESV2ConfigurationSet_optimizedSharedDelivery
--- PASS: TestAccSESV2ConfigurationSet_tags_AddOnUpdate (23.33s)
=== CONT TestAccSESV2ConfigurationSet_engagementMetrics
--- PASS: TestAccSESV2ConfigurationSetDataSource_tags_IgnoreTags_Overlap_DefaultTag (10.65s)
=== CONT TestAccSESV2ConfigurationSet_suppressedReasonsEmpty
--- PASS: TestAccSESV2ConfigurationSet_basic (12.54s)
=== CONT TestAccSESV2ConfigurationSet_suppressedReasons
--- PASS: TestAccSESV2ConfigurationSet_suppressedReasonsEmpty (12.34s)
=== CONT TestAccSESV2ConfigurationSet_sendingEnabled
--- PASS: TestAccSESV2ConfigurationSet_optimizedSharedDelivery (19.95s)
=== CONT TestAccSESV2ConfigurationSet_reputationMetricsEnabled
--- PASS: TestAccSESV2ConfigurationSet_engagementMetrics (19.66s)
=== CONT TestAccSESV2ConfigurationSet_deliveryOptions
--- PASS: TestAccSESV2ConfigurationSet_suppressedReasons (20.06s)
=== CONT TestAccSESV2ConfigurationSet_disappears
--- PASS: TestAccSESV2ConfigurationSet_sendingEnabled (19.84s)
=== CONT TestAccSESV2ConfigurationSet_tags_EmptyMap
--- PASS: TestAccSESV2ConfigurationSet_disappears (10.28s)
=== CONT TestAccSESV2ConfigurationSet_tags
--- PASS: TestAccSESV2ConfigurationSet_reputationMetricsEnabled (19.89s)
=== CONT TestAccSESV2ConfigurationSet_tags_null
--- PASS: TestAccSESV2ConfigurationSet_deliveryOptions (19.87s)
=== CONT TestAccSESV2ConfigurationSet_tags_DefaultTags_nonOverlapping
--- PASS: TestAccSESV2ConfigurationSet_tags_EmptyMap (16.92s)
=== CONT TestAccSESV2ConfigurationSet_tags_DefaultTags_updateToResourceOnly
--- PASS: TestAccSESV2ConfigurationSet_tags_null (16.71s)
=== CONT TestAccSESV2ConfigurationSetDataSource_tags_EmptyMap
--- PASS: TestAccSESV2ConfigurationSetDataSource_tags_EmptyMap (10.27s)
=== CONT TestAccSESV2ConfigurationSet_tags_DefaultTags_updateToProviderOnly
--- PASS: TestAccSESV2ConfigurationSet_tags_DefaultTags_updateToResourceOnly (20.82s)
=== CONT TestAccSESV2ConfigurationSet_tags_DefaultTags_overlapping
--- PASS: TestAccSESV2ConfigurationSet_tags_DefaultTags_nonOverlapping (36.55s)
=== CONT TestAccSESV2ConfigurationSet_tags_ComputedTag_OnUpdate_Add
--- PASS: TestAccSESV2ConfigurationSet_tags (46.72s)
=== CONT TestAccSESV2ConfigurationSet_tags_IgnoreTags_Overlap_DefaultTag
--- PASS: TestAccSESV2ConfigurationSet_tags_DefaultTags_updateToProviderOnly (22.27s)
=== CONT TestAccSESV2ConfigurationSet_tags_IgnoreTags_Overlap_ResourceTag
--- PASS: TestAccSESV2ConfigurationSet_tags_ComputedTag_OnUpdate_Add (26.25s)
=== CONT TestAccSESV2ConfigurationSetDataSource_tags_NullMap
--- PASS: TestAccSESV2ConfigurationSet_tags_DefaultTags_overlapping (37.38s)
=== CONT TestAccSESV2ConfigurationSetDataSource_basic
--- PASS: TestAccSESV2ConfigurationSet_tags_IgnoreTags_Overlap_DefaultTag (27.88s)
=== CONT TestAccSESV2ConfigurationSet_tags_ComputedTag_OnUpdate_Replace
--- PASS: TestAccSESV2ConfigurationSetDataSource_tags_NullMap (10.63s)
=== CONT TestAccSESV2ConfigurationSet_tags_EmptyTag_OnUpdate_Replace
--- PASS: TestAccSESV2ConfigurationSetDataSource_basic (10.81s)
=== CONT TestAccSESV2ConfigurationSet_tags_DefaultTags_providerOnly
--- PASS: TestAccSESV2ConfigurationSet_tags_IgnoreTags_Overlap_ResourceTag (32.67s)
=== CONT TestAccSESV2ConfigurationSet_tags_DefaultTags_nullNonOverlappingResourceTag
--- PASS: TestAccSESV2ConfigurationSet_tags_DefaultTags_nullNonOverlappingResourceTag (13.48s)
=== CONT TestAccSESV2ConfigurationSet_tags_ComputedTag_OnCreate
--- PASS: TestAccSESV2ConfigurationSet_tags_ComputedTag_OnUpdate_Replace (25.92s)
=== CONT TestAccSESV2ConfigurationSet_tags_DefaultTags_nullOverlappingResourceTag
--- PASS: TestAccSESV2ConfigurationSet_tags_EmptyTag_OnUpdate_Replace (22.32s)
=== CONT TestAccSESV2ConfigurationSet_tags_EmptyTag_OnUpdate_Add
--- PASS: TestAccSESV2ConfigurationSet_tags_DefaultTags_nullOverlappingResourceTag (13.90s)
=== CONT TestAccSESV2ConfigurationSet_tags_EmptyTag_OnCreate
--- PASS: TestAccSESV2ConfigurationSet_tags_ComputedTag_OnCreate (17.09s)
=== CONT TestAccSESV2ConfigurationSet_tags_DefaultTags_emptyProviderOnlyTag
--- PASS: TestAccSESV2ConfigurationSet_tags_DefaultTags_emptyProviderOnlyTag (14.08s)
--- PASS: TestAccSESV2ConfigurationSet_tags_DefaultTags_providerOnly (48.24s)
--- PASS: TestAccSESV2ConfigurationSet_tags_EmptyTag_OnUpdate_Add (33.44s)
--- PASS: TestAccSESV2ConfigurationSet_tags_EmptyTag_OnCreate (24.53s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/sesv2 202.281s
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 🚀
@lvthillo Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.81.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! |
Description
Add 2 new attributes
aws_sesv2_configuration_set.delivery_options.max_delivery_seconds
aws_sesv2_configuration_set.tracking_options.https_policy
https://docs.aws.amazon.com/ses/latest/APIReference-V2/API_DeliveryOptions.html#SES-Type-DeliveryOptions-MaxDeliverySeconds
https://docs.aws.amazon.com/ses/latest/APIReference-V2/API_TrackingOptions.html#SES-Type-TrackingOptions-HttpsPolicy
Relations
Closes #40170
References
Output from Acceptance Testing
Remark: No test added for the new
https_policy
. This requires acustom_redirect_domain
which requires a verified domain.