Merge pull request #30118 from marcusway/patch-1
Update docs to use `assume_role` block
This commit is contained in:
commit
cd8b458b9c
|
@ -313,7 +313,9 @@ provider "aws" {
|
|||
# No credentials explicitly set here because they come from either the
|
||||
# environment or the global credentials file.
|
||||
|
||||
assume_role = "${var.workspace_iam_roles[terraform.workspace]}"
|
||||
assume_role = {
|
||||
role_arn = "${var.workspace_iam_roles[terraform.workspace]}"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue