Skip to content

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

Closed
@gdavison

Description

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

Metadata

Assignees

Labels

service/transferIssues and PRs that pertain to the transfer service.testsPRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions