Merge pull request #30118 from marcusway/patch-1

Update docs to use `assume_role` block
This commit is contained in:
Laura Pacilio 2021-12-09 16:35:12 -05:00 committed by GitHub
commit cd8b458b9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -313,7 +313,9 @@ provider "aws" {
# No credentials explicitly set here because they come from either the # No credentials explicitly set here because they come from either the
# environment or the global credentials file. # environment or the global credentials file.
assume_role = "${var.workspace_iam_roles[terraform.workspace]}" assume_role = {
role_arn = "${var.workspace_iam_roles[terraform.workspace]}"
}
} }
``` ```