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

sweeper/aws_transfer_server: Cannot sweep transfer servers with API Gateway identity provider #19850

Closed
gdavison opened this issue Jun 17, 2021 · 2 comments · Fixed by #17539
Closed
Assignees
Labels
service/transfer Issues and PRs that pertain to the transfer service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.

Comments

@gdavison
Copy link
Contributor

The sweeper sets the force_destroy parameter before calling the resource Delete operation. When the identity provider is set to API_GATEWAY, this fails with the error

InvalidRequestException: Cannot list users on server with IdP type: API_GATEWAY

Do not set force_destroy when identity provider is API_GATEWAY. Confirm if force_destroy can be set when the identity provider is AWS_DIRECTORY_SERVICE.

Affected Resource

  • aws_transfer_server
@github-actions github-actions bot added the service/transfer Issues and PRs that pertain to the transfer service. label Jun 17, 2021
@ewbankkit ewbankkit added the tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. label Jun 17, 2021
@ewbankkit ewbankkit self-assigned this Jun 17, 2021
@ewbankkit
Copy link
Contributor

ewbankkit commented Jun 17, 2021

Yes, looking at the API Reference, users can only be listed if identity_provider_type = "SERVICE_MANAGED".

And we don't currently support AWS_DIRECTORY_SERVICE identity providers as the directory_id arguments hasn't been implemented, it was only announced last week - AWS SDK v1.38.47.

@github-actions
Copy link

github-actions bot commented Aug 2, 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 Aug 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/transfer Issues and PRs that pertain to the transfer service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
2 participants