f-aws-workmail-domain, f-aws-workmail-default-domain#46931
Open
subham-ibmhc wants to merge 12 commits intomainfrom
Open
f-aws-workmail-domain, f-aws-workmail-default-domain#46931subham-ibmhc wants to merge 12 commits intomainfrom
subham-ibmhc wants to merge 12 commits intomainfrom
Conversation
% make t T=TestAccWorkMailDomain_ K=workmail make: Verifying source code with gofmt... ==> Checking that code complies with gofmt requirements... make: Running acceptance tests on branch: 🌿 f-aws-workmail-domain 🌿... TF_ACC=1 go1.25.8 test ./internal/service/workmail/... -v -count 1 -parallel 20 -run='TestAccWorkMailDomain_' -timeout 360m -vet=off 2026/03/12 02:15:35 Creating Terraform AWS Provider (SDKv2-style)... 2026/03/12 02:15:35 Initializing Terraform AWS Provider (SDKv2-style)... === RUN TestAccWorkMailDomain_basic === PAUSE TestAccWorkMailDomain_basic === RUN TestAccWorkMailDomain_disappears === PAUSE TestAccWorkMailDomain_disappears === CONT TestAccWorkMailDomain_basic === CONT TestAccWorkMailDomain_disappears --- PASS: TestAccWorkMailDomain_basic (53.85s) --- PASS: TestAccWorkMailDomain_disappears (65.15s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/workmail 70.307s
% make t T=TestAccWorkMailDefaultDomain_basic K=workmail make: Verifying source code with gofmt... ==> Checking that code complies with gofmt requirements... make: Running acceptance tests on branch: 🌿 f-aws-workmail-domain 🌿... TF_ACC=1 go1.25.8 test ./internal/service/workmail/... -v -count 1 -parallel 20 -run='TestAccWorkMailDefaultDomain_basic' -timeout 360m -vet=off 2026/03/12 04:26:26 Creating Terraform AWS Provider (SDKv2-style)... 2026/03/12 04:26:26 Initializing Terraform AWS Provider (SDKv2-style)... === RUN TestAccWorkMailDefaultDomain_basic === PAUSE TestAccWorkMailDefaultDomain_basic === CONT TestAccWorkMailDefaultDomain_basic --- PASS: TestAccWorkMailDefaultDomain_basic (65.00s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/workmail 69.910s
% make t T=TestAccWorkMailDomain_Identity_ K=workmail make: Verifying source code with gofmt... ==> Checking that code complies with gofmt requirements... make: Running acceptance tests on branch: 🌿 f-aws-workmail-domain 🌿... TF_ACC=1 go1.25.8 test ./internal/service/workmail/... -v -count 1 -parallel 20 -run='TestAccWorkMailDomain_Identity_' -timeout 360m -vet=off 2026/03/13 18:40:46 Creating Terraform AWS Provider (SDKv2-style)... 2026/03/13 18:40:46 Initializing Terraform AWS Provider (SDKv2-style)... === RUN TestAccWorkMailDomain_Identity_basic === PAUSE TestAccWorkMailDomain_Identity_basic === RUN TestAccWorkMailDomain_Identity_regionOverride === PAUSE TestAccWorkMailDomain_Identity_regionOverride === CONT TestAccWorkMailDomain_Identity_basic === CONT TestAccWorkMailDomain_Identity_regionOverride --- PASS: TestAccWorkMailDomain_Identity_basic (61.54s) --- PASS: TestAccWorkMailDomain_Identity_regionOverride (75.08s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/workmail 79.957s
% make t T=TestAccWorkMailDomain_List_ K=workmail make: Verifying source code with gofmt... ==> Checking that code complies with gofmt requirements... make: Running acceptance tests on branch: 🌿 f-aws-workmail-domain 🌿... TF_ACC=1 go1.25.8 test ./internal/service/workmail/... -v -count 1 -parallel 20 -run='TestAccWorkMailDomain_List_' -timeout 360m -vet=off 2026/03/14 02:10:48 Creating Terraform AWS Provider (SDKv2-style)... 2026/03/14 02:10:48 Initializing Terraform AWS Provider (SDKv2-style)... === RUN TestAccWorkMailDomain_List_basic === PAUSE TestAccWorkMailDomain_List_basic === RUN TestAccWorkMailDomain_List_includeResource === PAUSE TestAccWorkMailDomain_List_includeResource === RUN TestAccWorkMailDomain_List_regionOverride === PAUSE TestAccWorkMailDomain_List_regionOverride === CONT TestAccWorkMailDomain_List_basic === CONT TestAccWorkMailDomain_List_regionOverride === CONT TestAccWorkMailDomain_List_includeResource --- PASS: TestAccWorkMailDomain_List_includeResource (51.09s) --- PASS: TestAccWorkMailDomain_List_regionOverride (55.50s) --- PASS: TestAccWorkMailDomain_List_basic (57.30s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/workmail 62.351s
Contributor
Community GuidelinesThis comment is added to every new Pull Request to provide quick reference to how the Terraform AWS Provider is maintained. Please review the information below, and thank you for contributing to the community that keeps the provider thriving! 🚀 Voting for Prioritization
Pull Request Authors
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rollback Plan
If a change needs to be reverted, we will publish an updated version of the library.
Changes to Security Controls
Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.
Description
aws_workmail_domain- Used to register and manage domains for workmail organizationaws_workmail_default_domain- Used to update default domain for workmail organization (this does not register a new domain)Adds RI and List support for
aws_workmail_domainWas not able to find a reliable way to test update scenario for
default_domainresource as remote API needs a verified domain before it can be set as default for an organization.Relations
Relates #6430
References
https://docs.aws.amazon.com/workmail/latest/APIReference/API_DeregisterMailDomain.html
https://docs.aws.amazon.com/workmail/latest/APIReference/API_RegisterMailDomain.html
https://docs.aws.amazon.com/workmail/latest/APIReference/API_GetMailDomain.html
https://docs.aws.amazon.com/workmail/latest/APIReference/API_UpdateDefaultMailDomain.html
Output from Acceptance Testing