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

tests/data-source/aws_workspaces_workspace: Simple AD directory creation is currently not supported in this region #17441

Closed
bflad opened this issue Feb 3, 2021 · 2 comments
Labels
partition/aws-us-gov Pertains to the aws-us-gov partition. service/workspaces Issues and PRs that pertain to the workspaces service. technical-debt Addresses areas of the codebase that need refactoring or redesign. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.

Comments

@bflad
Copy link
Contributor

bflad commented Feb 3, 2021

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

The TestAccDataSourceAwsWorkspacesWorkspace_byDirectoryID_userName acceptance test currently is failing in AWS GovCloud (US) with:

=== CONT  TestAccDataSourceAwsWorkspacesWorkspace_byDirectoryID_userName
    data_source_aws_workspaces_workspace_test.go:48: Step 1/1 error: Error running apply:
        Error: ClientException: Simple AD directory creation is currently not supported in this region. : RequestId: ab0931ef-0d3e-47ee-853f-6b624a112ef8 : RequestId: ab0931ef-0d3e-47ee-853f-6b624a112ef8
        {
          RespMetadata: {
            StatusCode: 400,
            RequestID: "ab0931ef-0d3e-47ee-853f-6b624a112ef8"
          },
          Message_: "Simple AD directory creation is currently not supported in this region. : RequestId: ab0931ef-0d3e-47ee-853f-6b624a112ef8 : RequestId: ab0931ef-0d3e-47ee-853f-6b624a112ef8",
          RequestId: "ab0931ef-0d3e-47ee-853f-6b624a112ef8"
        }


--- FAIL: TestAccDataSourceAwsWorkspacesWorkspace_byDirectoryID_userName (21.31s)

This test and potentially other aws_workspaces_workspace managed resource or data source tests will need configuration updates for region agnostic support or additional PreCheck handling to skip the tests.

Affected Resource(s)

  • aws_workspaces_workspace

References

@bflad bflad added tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. service/workspaces Issues and PRs that pertain to the workspaces service. technical-debt Addresses areas of the codebase that need refactoring or redesign. partition/aws-us-gov Pertains to the aws-us-gov partition. labels Feb 3, 2021
@ewbankkit
Copy link
Contributor

Fixed in #18243.

@github-actions
Copy link

github-actions bot commented Sep 6, 2021

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
partition/aws-us-gov Pertains to the aws-us-gov partition. service/workspaces Issues and PRs that pertain to the workspaces service. technical-debt Addresses areas of the codebase that need refactoring or redesign. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

No branches or pull requests

2 participants