-
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
r/aws_ses_receipt_rule: add iam_role_arn
argument to s3_action
configuration block
#39364
r/aws_ses_receipt_rule: add iam_role_arn
argument to s3_action
configuration block
#39364
Conversation
Community NoteVoting for Prioritization
For Submitters
|
2a6fc64
to
ceccc06
Compare
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=TestAccSESActiveReceiptRuleSet_serial' PKG=ses
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.7 test ./internal/service/ses/... -v -count 1 -parallel 20 -run=TestAccSESActiveReceiptRuleSet_serial -timeout 360m
=== RUN TestAccSESActiveReceiptRuleSet_serial
=== PAUSE TestAccSESActiveReceiptRuleSet_serial
=== CONT TestAccSESActiveReceiptRuleSet_serial
=== RUN TestAccSESActiveReceiptRuleSet_serial/Resource
=== RUN TestAccSESActiveReceiptRuleSet_serial/Resource/basic
=== RUN TestAccSESActiveReceiptRuleSet_serial/Resource/disappears
=== RUN TestAccSESActiveReceiptRuleSet_serial/DataSource
=== RUN TestAccSESActiveReceiptRuleSet_serial/DataSource/basic
=== RUN TestAccSESActiveReceiptRuleSet_serial/DataSource/noActiveRuleSet
--- PASS: TestAccSESActiveReceiptRuleSet_serial (39.10s)
--- PASS: TestAccSESActiveReceiptRuleSet_serial/Resource (25.99s)
--- PASS: TestAccSESActiveReceiptRuleSet_serial/Resource/basic (14.65s)
--- PASS: TestAccSESActiveReceiptRuleSet_serial/Resource/disappears (11.34s)
--- PASS: TestAccSESActiveReceiptRuleSet_serial/DataSource (13.11s)
--- PASS: TestAccSESActiveReceiptRuleSet_serial/DataSource/basic (11.26s)
--- PASS: TestAccSESActiveReceiptRuleSet_serial/DataSource/noActiveRuleSet (1.85s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ses 44.370s
% make testacc TESTARGS='-run=TestAccSESConfigurationSet_' PKG=ses
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.7 test ./internal/service/ses/... -v -count 1 -parallel 20 -run=TestAccSESConfigurationSet_ -timeout 360m
=== RUN TestAccSESConfigurationSet_basic
=== PAUSE TestAccSESConfigurationSet_basic
=== RUN TestAccSESConfigurationSet_sendingEnabled
=== PAUSE TestAccSESConfigurationSet_sendingEnabled
=== RUN TestAccSESConfigurationSet_reputationMetricsEnabled
=== PAUSE TestAccSESConfigurationSet_reputationMetricsEnabled
=== RUN TestAccSESConfigurationSet_deliveryOptions
=== PAUSE TestAccSESConfigurationSet_deliveryOptions
=== RUN TestAccSESConfigurationSet_Update_deliveryOptions
=== PAUSE TestAccSESConfigurationSet_Update_deliveryOptions
=== RUN TestAccSESConfigurationSet_emptyDeliveryOptions
=== PAUSE TestAccSESConfigurationSet_emptyDeliveryOptions
=== RUN TestAccSESConfigurationSet_Update_emptyDeliveryOptions
=== PAUSE TestAccSESConfigurationSet_Update_emptyDeliveryOptions
=== RUN TestAccSESConfigurationSet_disappears
=== PAUSE TestAccSESConfigurationSet_disappears
=== CONT TestAccSESConfigurationSet_basic
=== CONT TestAccSESConfigurationSet_emptyDeliveryOptions
=== CONT TestAccSESConfigurationSet_deliveryOptions
=== CONT TestAccSESConfigurationSet_reputationMetricsEnabled
=== CONT TestAccSESConfigurationSet_disappears
=== CONT TestAccSESConfigurationSet_Update_emptyDeliveryOptions
=== CONT TestAccSESConfigurationSet_Update_deliveryOptions
=== CONT TestAccSESConfigurationSet_sendingEnabled
--- PASS: TestAccSESConfigurationSet_disappears (16.20s)
--- PASS: TestAccSESConfigurationSet_deliveryOptions (18.03s)
--- PASS: TestAccSESConfigurationSet_basic (18.31s)
--- PASS: TestAccSESConfigurationSet_emptyDeliveryOptions (18.38s)
--- PASS: TestAccSESConfigurationSet_reputationMetricsEnabled (33.65s)
--- PASS: TestAccSESConfigurationSet_sendingEnabled (33.67s)
--- PASS: TestAccSESConfigurationSet_Update_emptyDeliveryOptions (35.59s)
--- PASS: TestAccSESConfigurationSet_Update_deliveryOptions (42.27s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ses 47.235s
% make testacc TESTARGS='-run=TestAccSESDomainDKIM_' PKG=ses
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.7 test ./internal/service/ses/... -v -count 1 -parallel 20 -run=TestAccSESDomainDKIM_ -timeout 360m
=== RUN TestAccSESDomainDKIM_basic
=== PAUSE TestAccSESDomainDKIM_basic
=== RUN TestAccSESDomainDKIM_Disappears_identity
=== PAUSE TestAccSESDomainDKIM_Disappears_identity
=== CONT TestAccSESDomainDKIM_basic
=== CONT TestAccSESDomainDKIM_Disappears_identity
--- PASS: TestAccSESDomainDKIM_Disappears_identity (12.72s)
--- PASS: TestAccSESDomainDKIM_basic (12.73s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ses 17.860s
% SES_DOMAIN_IDENTITY_ROOT_DOMAIN=... make testacc TESTARGS='-run=TestAccSESDomainIdentityVerification_' PKG=ses
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.7 test ./internal/service/ses/... -v -count 1 -parallel 20 -run=TestAccSESDomainIdentityVerification_ -timeout 360m
=== RUN TestAccSESDomainIdentityVerification_basic
=== PAUSE TestAccSESDomainIdentityVerification_basic
=== RUN TestAccSESDomainIdentityVerification_timeout
=== PAUSE TestAccSESDomainIdentityVerification_timeout
=== RUN TestAccSESDomainIdentityVerification_nonexistent
=== PAUSE TestAccSESDomainIdentityVerification_nonexistent
=== CONT TestAccSESDomainIdentityVerification_basic
=== CONT TestAccSESDomainIdentityVerification_nonexistent
=== CONT TestAccSESDomainIdentityVerification_timeout
--- PASS: TestAccSESDomainIdentityVerification_nonexistent (4.63s)
--- PASS: TestAccSESDomainIdentityVerification_timeout (11.55s)
--- PASS: TestAccSESDomainIdentityVerification_basic (112.56s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ses 117.641s
% make testacc TESTARGS='-run=TestAccSESDomainIdentityDataSource_' PKG=ses ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.7 test ./internal/service/ses/... -v -count 1 -parallel 3 -run=TestAccSESDomainIdentityDataSource_ -timeout 360m
=== RUN TestAccSESDomainIdentityDataSource_basic
=== PAUSE TestAccSESDomainIdentityDataSource_basic
=== CONT TestAccSESDomainIdentityDataSource_basic
--- PASS: TestAccSESDomainIdentityDataSource_basic (11.35s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ses 16.452s
% make testacc TESTARGS='-run=TestAccSESDomainIdentity_' PKG=ses ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.7 test ./internal/service/ses/... -v -count 1 -parallel 3 -run=TestAccSESDomainIdentity_ -timeout 360m
=== RUN TestAccSESDomainIdentity_basic
=== PAUSE TestAccSESDomainIdentity_basic
=== RUN TestAccSESDomainIdentity_disappears
=== PAUSE TestAccSESDomainIdentity_disappears
=== RUN TestAccSESDomainIdentity_trailingPeriod
=== PAUSE TestAccSESDomainIdentity_trailingPeriod
=== CONT TestAccSESDomainIdentity_basic
=== CONT TestAccSESDomainIdentity_trailingPeriod
=== CONT TestAccSESDomainIdentity_disappears
--- PASS: TestAccSESDomainIdentity_trailingPeriod (1.67s)
--- PASS: TestAccSESDomainIdentity_basic (10.86s)
--- PASS: TestAccSESDomainIdentity_disappears (11.52s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ses 16.546s
% make testacc TESTARGS='-run=TestAccSESDomainMailFrom_' PKG=ses ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.7 test ./internal/service/ses/... -v -count 1 -parallel 3 -run=TestAccSESDomainMailFrom_ -timeout 360m
=== RUN TestAccSESDomainMailFrom_basic
=== PAUSE TestAccSESDomainMailFrom_basic
=== RUN TestAccSESDomainMailFrom_disappears
=== PAUSE TestAccSESDomainMailFrom_disappears
=== RUN TestAccSESDomainMailFrom_Disappears_identity
=== PAUSE TestAccSESDomainMailFrom_Disappears_identity
=== RUN TestAccSESDomainMailFrom_behaviorOnMxFailure
=== PAUSE TestAccSESDomainMailFrom_behaviorOnMxFailure
=== CONT TestAccSESDomainMailFrom_basic
=== CONT TestAccSESDomainMailFrom_Disappears_identity
=== CONT TestAccSESDomainMailFrom_disappears
--- PASS: TestAccSESDomainMailFrom_disappears (12.15s)
=== CONT TestAccSESDomainMailFrom_behaviorOnMxFailure
--- PASS: TestAccSESDomainMailFrom_Disappears_identity (12.19s)
--- PASS: TestAccSESDomainMailFrom_basic (21.59s)
--- PASS: TestAccSESDomainMailFrom_behaviorOnMxFailure (20.41s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ses 37.630s
% make testacc TESTARGS='-run=TestAccSESEmailIdentity_serial' PKG=ses ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.7 test ./internal/service/ses/... -v -count 1 -parallel 3 -run=TestAccSESEmailIdentity_serial -timeout 360m
=== RUN TestAccSESEmailIdentity_serial
=== PAUSE TestAccSESEmailIdentity_serial
=== CONT TestAccSESEmailIdentity_serial
=== RUN TestAccSESEmailIdentity_serial/basic
=== RUN TestAccSESEmailIdentity_serial/disappears
=== RUN TestAccSESEmailIdentity_serial/trailingPeriod
=== RUN TestAccSESEmailIdentity_serial/dataSource_basic
=== RUN TestAccSESEmailIdentity_serial/dataSource_trailingPeriod
--- PASS: TestAccSESEmailIdentity_serial (57.73s)
--- PASS: TestAccSESEmailIdentity_serial/basic (13.19s)
--- PASS: TestAccSESEmailIdentity_serial/disappears (10.73s)
--- PASS: TestAccSESEmailIdentity_serial/trailingPeriod (12.48s)
--- PASS: TestAccSESEmailIdentity_serial/dataSource_basic (10.70s)
--- PASS: TestAccSESEmailIdentity_serial/dataSource_trailingPeriod (10.63s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ses 62.714s
% make testacc TESTARGS='-run=TestAccSESEventDestination_' PKG=ses ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.7 test ./internal/service/ses/... -v -count 1 -parallel 3 -run=TestAccSESEventDestination_ -timeout 360m
=== RUN TestAccSESEventDestination_basic
=== PAUSE TestAccSESEventDestination_basic
=== RUN TestAccSESEventDestination_disappears
=== PAUSE TestAccSESEventDestination_disappears
=== RUN TestAccSESEventDestination_Disappears_configurationSet
=== PAUSE TestAccSESEventDestination_Disappears_configurationSet
=== RUN TestAccSESEventDestination_firehose
=== PAUSE TestAccSESEventDestination_firehose
=== RUN TestAccSESEventDestination_sns
=== PAUSE TestAccSESEventDestination_sns
=== RUN TestAccSESEventDestination_multiple
=== PAUSE TestAccSESEventDestination_multiple
=== CONT TestAccSESEventDestination_basic
=== CONT TestAccSESEventDestination_multiple
=== CONT TestAccSESEventDestination_firehose
--- PASS: TestAccSESEventDestination_basic (14.28s)
=== CONT TestAccSESEventDestination_sns
--- PASS: TestAccSESEventDestination_sns (14.60s)
=== CONT TestAccSESEventDestination_Disappears_configurationSet
--- PASS: TestAccSESEventDestination_Disappears_configurationSet (10.93s)
=== CONT TestAccSESEventDestination_disappears
--- PASS: TestAccSESEventDestination_disappears (10.80s)
--- PASS: TestAccSESEventDestination_firehose (62.76s)
--- PASS: TestAccSESEventDestination_multiple (68.35s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ses 73.225s
% make testacc TESTARGS='-run=TestAccSESIdentityNotificationTopic_' PKG=ses ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.7 test ./internal/service/ses/... -v -count 1 -parallel 3 -run=TestAccSESIdentityNotificationTopic_ -timeout 360m
=== RUN TestAccSESIdentityNotificationTopic_basic
=== PAUSE TestAccSESIdentityNotificationTopic_basic
=== CONT TestAccSESIdentityNotificationTopic_basic
--- PASS: TestAccSESIdentityNotificationTopic_basic (31.64s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ses 36.627s
% make testacc TESTARGS='-run=TestAccSESIdentityPolicy_' PKG=ses ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.7 test ./internal/service/ses/... -v -count 1 -parallel 3 -run=TestAccSESIdentityPolicy_ -timeout 360m
=== RUN TestAccSESIdentityPolicy_basic
=== PAUSE TestAccSESIdentityPolicy_basic
=== RUN TestAccSESIdentityPolicy_Identity_email
=== PAUSE TestAccSESIdentityPolicy_Identity_email
=== RUN TestAccSESIdentityPolicy_policy
=== PAUSE TestAccSESIdentityPolicy_policy
=== RUN TestAccSESIdentityPolicy_ignoreEquivalent
=== PAUSE TestAccSESIdentityPolicy_ignoreEquivalent
=== CONT TestAccSESIdentityPolicy_basic
=== CONT TestAccSESIdentityPolicy_policy
=== CONT TestAccSESIdentityPolicy_Identity_email
--- PASS: TestAccSESIdentityPolicy_Identity_email (14.29s)
=== CONT TestAccSESIdentityPolicy_ignoreEquivalent
--- PASS: TestAccSESIdentityPolicy_basic (14.29s)
--- PASS: TestAccSESIdentityPolicy_policy (22.07s)
--- PASS: TestAccSESIdentityPolicy_ignoreEquivalent (14.62s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ses 34.061s
% make testacc TESTARGS='-run=TestAccSESReceiptFilter_' PKG=ses ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.7 test ./internal/service/ses/... -v -count 1 -parallel 3 -run=TestAccSESReceiptFilter_ -timeout 360m
=== RUN TestAccSESReceiptFilter_basic
=== PAUSE TestAccSESReceiptFilter_basic
=== RUN TestAccSESReceiptFilter_disappears
=== PAUSE TestAccSESReceiptFilter_disappears
=== CONT TestAccSESReceiptFilter_basic
=== CONT TestAccSESReceiptFilter_disappears
--- PASS: TestAccSESReceiptFilter_disappears (11.58s)
--- PASS: TestAccSESReceiptFilter_basic (13.65s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ses 18.720s
% make testacc TESTARGS='-run=TestAccSESReceiptRule_' PKG=ses ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.7 test ./internal/service/ses/... -v -count 1 -parallel 3 -run=TestAccSESReceiptRule_ -timeout 360m
=== RUN TestAccSESReceiptRule_basic
=== PAUSE TestAccSESReceiptRule_basic
=== RUN TestAccSESReceiptRule_s3Action
=== PAUSE TestAccSESReceiptRule_s3Action
=== RUN TestAccSESReceiptRule_s3Action_iamRoleARN
=== PAUSE TestAccSESReceiptRule_s3Action_iamRoleARN
=== RUN TestAccSESReceiptRule_snsAction
=== PAUSE TestAccSESReceiptRule_snsAction
=== RUN TestAccSESReceiptRule_snsActionEncoding
=== PAUSE TestAccSESReceiptRule_snsActionEncoding
=== RUN TestAccSESReceiptRule_lambdaAction
=== PAUSE TestAccSESReceiptRule_lambdaAction
=== RUN TestAccSESReceiptRule_stopAction
=== PAUSE TestAccSESReceiptRule_stopAction
=== RUN TestAccSESReceiptRule_order
=== PAUSE TestAccSESReceiptRule_order
=== RUN TestAccSESReceiptRule_actions
=== PAUSE TestAccSESReceiptRule_actions
=== RUN TestAccSESReceiptRule_disappears
=== PAUSE TestAccSESReceiptRule_disappears
=== CONT TestAccSESReceiptRule_basic
=== CONT TestAccSESReceiptRule_lambdaAction
=== CONT TestAccSESReceiptRule_actions
--- PASS: TestAccSESReceiptRule_basic (13.93s)
--- PASS: TestAccSESReceiptRule_actions (13.93s)
=== CONT TestAccSESReceiptRule_disappears
=== CONT TestAccSESReceiptRule_order
--- PASS: TestAccSESReceiptRule_disappears (11.43s)
=== CONT TestAccSESReceiptRule_snsAction
--- PASS: TestAccSESReceiptRule_order (13.67s)
=== CONT TestAccSESReceiptRule_snsActionEncoding
--- PASS: TestAccSESReceiptRule_lambdaAction (30.48s)
=== CONT TestAccSESReceiptRule_s3Action_iamRoleARN
--- PASS: TestAccSESReceiptRule_snsAction (14.03s)
=== CONT TestAccSESReceiptRule_stopAction
--- PASS: TestAccSESReceiptRule_snsActionEncoding (13.91s)
=== CONT TestAccSESReceiptRule_s3Action
--- PASS: TestAccSESReceiptRule_stopAction (14.16s)
--- PASS: TestAccSESReceiptRule_s3Action_iamRoleARN (23.96s)
--- PASS: TestAccSESReceiptRule_s3Action (19.97s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ses 66.579s
% make testacc TESTARGS='-run=TestAccSESReceiptRuleSet_' PKG=ses ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.7 test ./internal/service/ses/... -v -count 1 -parallel 3 -run=TestAccSESReceiptRuleSet_ -timeout 360m
=== RUN TestAccSESReceiptRuleSet_basic
=== PAUSE TestAccSESReceiptRuleSet_basic
=== RUN TestAccSESReceiptRuleSet_disappears
=== PAUSE TestAccSESReceiptRuleSet_disappears
=== CONT TestAccSESReceiptRuleSet_basic
=== CONT TestAccSESReceiptRuleSet_disappears
--- PASS: TestAccSESReceiptRuleSet_disappears (11.41s)
--- PASS: TestAccSESReceiptRuleSet_basic (13.41s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ses 18.447s
% make testacc TESTARGS='-run=TestAccSESTemplate_' PKG=ses ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.7 test ./internal/service/ses/... -v -count 1 -parallel 3 -run=TestAccSESTemplate_ -timeout 360m
=== RUN TestAccSESTemplate_basic
=== PAUSE TestAccSESTemplate_basic
=== RUN TestAccSESTemplate_update
=== PAUSE TestAccSESTemplate_update
=== RUN TestAccSESTemplate_disappears
=== PAUSE TestAccSESTemplate_disappears
=== CONT TestAccSESTemplate_basic
=== CONT TestAccSESTemplate_disappears
=== CONT TestAccSESTemplate_update
--- PASS: TestAccSESTemplate_disappears (11.73s)
--- PASS: TestAccSESTemplate_basic (13.69s)
--- PASS: TestAccSESTemplate_update (29.05s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ses 34.059s
@kamilturek Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.68.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 adds the
iam_role_arn
argument to thes3_action
configuration block.Relations
Closes #39332.
References
https://docs.aws.amazon.com/ses/latest/APIReference/API_S3Action.html
Output from Acceptance Testing