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
{{ message }}
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.
I used terraforming to extract the configuration of my account in AWS (which had been built artisanally), and later terraform plan complained that one users policy which had his user name as "user.name" had the above listed problem.
Checking in the console indicated that the Policy Name actually had a period in it, so I'm not sure if the problem is in Terraform or Terraforming.
The text was updated successfully, but these errors were encountered:
Facing the same problem. Dug a bit deeper and saw that while the resource names for some iam modules e.g. iam_user were being normalized as can be seen here and here using the function module_name_of, other modules like instance_profile, user_policy etc were not getting normalized.
Here is a sample output of the command
terraform plan
`Errors:
aws_iam_user_policy.XXX.YYY_policygen-XXX.YYY-ZZZZZZZ: XXX.YYY_policygen-XXX.YYY-ZZZZZZZ: resource name can only contain letters, numbers, dashes, and underscores.`
The same problem also occurs while importing state file.
I used terraforming to extract the configuration of my account in AWS (which had been built artisanally), and later terraform plan complained that one users policy which had his user name as "user.name" had the above listed problem.
Checking in the console indicated that the Policy Name actually had a period in it, so I'm not sure if the problem is in Terraform or Terraforming.
The text was updated successfully, but these errors were encountered: