Skip to content

Commit

Permalink
fix: Reducing the number of Rs in `TERRRAGRUNT_IAM_ASSUME_ROLE_WEB_ID…
Browse files Browse the repository at this point in the history
…ENTITY_TOKEN` (#3272)
  • Loading branch information
yhakbar authored Jul 17, 2024
1 parent 081fce5 commit 5554d8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cli/commands/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ func NewGlobalFlags(opts *options.TerragruntOptions) cli.Flags {
&cli.GenericFlag[string]{
Name: TerragruntIAMWebIdentityTokenFlagName,
Destination: &opts.IAMRoleOptions.WebIdentityToken,
EnvVar: "TERRRAGRUNT_IAM_ASSUME_ROLE_WEB_IDENTITY_TOKEN",
Usage: "For AssumeRoleWithWebIdentity, the WebIdentity token. Can also be set via TERRRAGRUNT_IAM_ASSUME_ROLE_WEB_IDENTITY_TOKEN environment variable",
EnvVar: "TERRAGRUNT_IAM_ASSUME_ROLE_WEB_IDENTITY_TOKEN",
Usage: "For AssumeRoleWithWebIdentity, the WebIdentity token. Can also be set via TERRAGRUNT_IAM_ASSUME_ROLE_WEB_IDENTITY_TOKEN environment variable",
},
&cli.BoolFlag{
Name: TerragruntIgnoreDependencyErrorsFlagName,
Expand Down
2 changes: 1 addition & 1 deletion docs/_docs/04_reference/config-blocks-and-attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -1334,7 +1334,7 @@ The precedence is as follows: `--terragrunt-iam-assume-role-session-name` comman

The `iam_web_identity_token` attribute can be used along with `iam_role` to assume a role using AssumeRoleWithWebIdentity. `iam_web_identity_token` can be set to either the token value (typically using `get_env()`), or the path to a file on disk.

The precedence is as follows: `--terragrunt-iam-web-identity-token` command line option → `TERRRAGRUNT_IAM_ASSUME_ROLE_WEB_IDENTITY_TOKEN` env variable →
The precedence is as follows: `--terragrunt-iam-web-identity-token` command line option → `TERRAGRUNT_IAM_ASSUME_ROLE_WEB_IDENTITY_TOKEN` env variable →
`iam_web_identity_token` attribute of the `terragrunt.hcl` file in the module directory → `iam_web_identity_token` attribute of the included
`terragrunt.hcl`.

Expand Down

0 comments on commit 5554d8a

Please sign in to comment.