-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InvalidParameter on IAM Role and Policy #4
Comments
Good catch! PR would be great. |
headcr4sh
pushed a commit
that referenced
this issue
Feb 8, 2020
Use null value for aws_iam_path_prefix if no value is set Closes #4
Error: failed creating IAM Role (test-role): InvalidParameter: 1 validation error(s) found. |
i am getting this error plz can any one help |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The default
aws_iam_path_prefix
parameter of""
causes a validation error onterraform apply
:It seems like
path
has to at least have a length of 1 to be valid. There are two possible solutions I can think of:aws_iam_path_prefix
to"/"
like it is in the terraform documentationaws_iam_path_prefix
tonull
, and only set thepath
value if a path prefix was passed in.I'm happy to make a PR if that would help.
The text was updated successfully, but these errors were encountered: