From b202eefc7bcafda5598a3de579668cf42fe9001a Mon Sep 17 00:00:00 2001 From: Marcus Way Date: Wed, 8 Dec 2021 19:33:17 -0500 Subject: [PATCH] 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 --- website/docs/language/settings/backends/s3.html.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/docs/language/settings/backends/s3.html.md b/website/docs/language/settings/backends/s3.html.md index f5b2d2ee0..f8d6b449a 100644 --- a/website/docs/language/settings/backends/s3.html.md +++ b/website/docs/language/settings/backends/s3.html.md @@ -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]}" + } } ```