You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a requirement to use different name_prefix value for IAM role and IAM policy. Currently the module doesn't offer this.
Versions
Module version [Required]: 20.35.0
Expected behavior
should have an additional variable to specify the IAM Policy name prefix value. This will remove the dependency on the name_prefix value for the IAM role.
you will need to provider either your own role or policy in order to reach your desire outcome - we are not looking to add more variables for niche edge cases
Description
We have a requirement to use different
name_prefix
value for IAM role and IAM policy. Currently the module doesn't offer this.Versions
Expected behavior
should have an additional variable to specify the IAM Policy name prefix value. This will remove the dependency on the name_prefix value for the IAM role.
name_prefix = var.iam_role_use_name_prefix ? "${local.iam_role_name}${var.prefix_separator}" : null
Actual behavior
name_prefix
is configured to take the iam_role_name value and there is no seperate variable for the iam policy name prefix.The text was updated successfully, but these errors were encountered: