Firewall Manager does not allow deletion and creation from same role #19928
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/fms
Issues and PRs that pertain to the fms service.
When trying to
apply
thendestroy
a Firewall Manager you must assume different roles in order to apply and destroy. This means the supporting modules must use work arounds to specify which role to assume, based on which terraform command is being run.Upon further investigation this does appear to be an issue with the AWS SDK, as with the CLI the same issue arises. See section below Important Factoids
Terraform CLI and Terraform AWS Provider Version
Terraform v0.13.7
AWS Provider 3.46.0
Affected Resource(s)
Terraform Configuration Files
This block must have the provider alias turned off to be deleted - It must assume Org Management to be created, but Firewall Manager (default) to be destroyed.
providers.tf
variables.tf
Expected Behavior
The Resource can be created and destroyed regularly.
Actual Behavior
The resource fails to delete with the error
Steps to Reproduce
terraform apply
terraform destroy
Important Factoids
Running into the same issue with
aws
cli.I realize this means this means it is not a terraform aws provider issue. But this will help add visibility perhaps and start a discussion.
Community Note
The text was updated successfully, but these errors were encountered: