Closed dannyrandall closed 4 years ago
Good catch! PR would be great.
Error: failed creating IAM Role (test-role): InvalidParameter: 1 validation error(s) found. │ - minimum field size of 1, CreateRoleInput.AssumeRolePolicyDocument.
i am getting this error plz can any one help
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.