From 14a64aaabfc0b6db4f11d208c03df483350c3305 Mon Sep 17 00:00:00 2001 From: rstewart-sms <76210997+rstewart-sms@users.noreply.github.com> Date: Sat, 2 Jul 2022 08:38:11 -0400 Subject: [PATCH] Update import-existing-resources-from-the-root-account-into-terraform-state.md When using terragrun aws-provide-patch, the strings passed using --terragrunt-override-attr should be wrapped in single quotes. If the strings are not surrounded by single quotes then running the command results in the error "Could not determine underlying type of JSON string". --- ...ng-resources-from-the-root-account-into-terraform-state.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides/build-it-yourself/landing-zone/deployment-walkthrough/import-existing-resources-from-the-root-account-into-terraform-state.md b/docs/guides/build-it-yourself/landing-zone/deployment-walkthrough/import-existing-resources-from-the-root-account-into-terraform-state.md index 0499491146..7b0f8326dd 100644 --- a/docs/guides/build-it-yourself/landing-zone/deployment-walkthrough/import-existing-resources-from-the-root-account-into-terraform-state.md +++ b/docs/guides/build-it-yourself/landing-zone/deployment-walkthrough/import-existing-resources-from-the-root-account-into-terraform-state.md @@ -76,8 +76,8 @@ we need to temporarily hard-code some of the `region` and `role_arn` parameters ```bash terragrunt aws-provider-patch \ - --terragrunt-override-attr region="eu-west-1" \ - --terragrunt-override-attr assume_role.role_arn="" + --terragrunt-override-attr 'region="eu-west-1"' \ + --terragrunt-override-attr 'assume_role.role_arn=""' ``` _Note: You can use any region you want for the `region` parameter. It’s just temporary. However, `role_arn` must be set