Updated CLI args, config attributes and blocks
--terragrunt-iam-role
--terragrunt-iam-assume-role-duration
--terragrunt-iam-assume-role-session-name
iam_role
iam_assume_role_duration
iam_assume_role_session_name
Description
NOTE: There is a regression bug introduced in this version. We recommend using v0.35.2.
The following bugs related to the assume IAM role features of terragrunt has been fixed:
- There was a bug in the logic for
--terragrunt-assume-role-session-name
, where the default session name was always used when the CLI option was not passed in due to the session name being set on the options struct with the default. Now the default is only used if it is not explicitly set by CLI flag or config. - There was a bug in the logic for assuming IAM roles in the remote state initialization, where it did not use the session duration or the session name that was set on the CLI. Now the remote state initialization will use the session duration and session name passed through the CLI, if set.
- There was a bug in the logic for assuming IAM roles for the terragrunt AWS internal helper functions, where it did not use the session duration or the session name from the config or CLI. Now the AWS internal helpers will use the session duration and session name if set.
- There was a bug in the logic for dependency, where it did not use the session duration or the session name from the config or CLI. Now dependency fetching will use the session duration and the session name if set.