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

Work around Terraform Provider bug when deleting permission sets #66

Open
Nuru opened this issue Nov 13, 2024 · 0 comments
Open

Work around Terraform Provider bug when deleting permission sets #66

Nuru opened this issue Nov 13, 2024 · 0 comments
Labels
bug 🐛 An issue with the system

Comments

@Nuru
Copy link
Contributor

Nuru commented Nov 13, 2024

Describe the Bug

When trying to delete/destroy a permission set, Terraform/Tofu fails with an error like

Error: waiting for SSO Permission Set (arn:aws:sso:::permissionSet/ssoins-xxx/ps-xxx)
provision: unexpected state 'FAILED', wanted target 'SUCCEEDED'. 
last error: Received a 404 status error: Permission set provision not found in AWS account 123456789012.

This is due to a known bug in the AWS Provider, with a known workaround.

Expected Behavior

Destroying permission sets should proceed without error

Steps to Reproduce

  • Create a permission set
  • Assign it to groups and accounts
  • Delete the permission set and assignments

Additional Context

@Nuru Nuru added the bug 🐛 An issue with the system label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An issue with the system
Projects
None yet
Development

No branches or pull requests

1 participant