Update docs to use `assume_role` block

I'm guessing this document is just out of date, but I got an error when configuring `assume_role` as an argument and had to add an `assume_role` block
This commit is contained in:
Marcus Way 2021-12-08 19:33:17 -05:00 committed by GitHub
parent 839458c192
commit b202eefc7b
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]}"
}
} }
``` ```