diff --git a/builder/amazon/common/access_config.go b/builder/amazon/common/access_config.go index befbb6be6..2103aa83b 100644 --- a/builder/amazon/common/access_config.go +++ b/builder/amazon/common/access_config.go @@ -29,7 +29,7 @@ import ( // HCL config example: // // ```HCL -// source "example" "amazon-ebs"{ +// source "amazon-ebs" "example" { // assume_role { // role_arn = "arn:aws:iam::ACCOUNT_ID:role/ROLE_NAME" // session_name = "SESSION_NAME" diff --git a/website/content/partials/builder/amazon/common/AssumeRoleConfig.mdx b/website/content/partials/builder/amazon/common/AssumeRoleConfig.mdx index 6eb7bb362..bacfe40a1 100644 --- a/website/content/partials/builder/amazon/common/AssumeRoleConfig.mdx +++ b/website/content/partials/builder/amazon/common/AssumeRoleConfig.mdx @@ -8,7 +8,7 @@ Usage example: HCL config example: ```HCL -source "example" "amazon-ebs"{ +source "amazon-ebs" "example" { assume_role { role_arn = "arn:aws:iam::ACCOUNT_ID:role/ROLE_NAME" session_name = "SESSION_NAME"