Describe the Feature
Provider should support multiple assume_role blocks in order to allow chained roles in some scenarios
Expected Behavior
Multiple assume_role blocks work just fine in hashicorp/aws
Use Case
In some scenarios there is a need to assume target role through a "proxy" role. Extremely useful in case of infra migrations or accommodating additional security requirements.
Additional Context
17:38:01.464 STDERR tofu1.10.6: Error: Too many assume_role blocks
17:38:01.464 STDERR tofu1.10.6: on providers.tf line 46, in provider "awsutils":
17:38:01.464 STDERR tofu1.10.6: 46: assume_role {
17:38:01.464 STDERR tofu1.10.6: No more than 1 "assume_role" blocks are allowed