Support aws_iam_user_policy_attachment resource
For IAM user there's a difference between Terraform and CloudFormation for attached policies. In CFN there's an 'AttachedPolicies' property on the IAM::User resource but for Terraform there's another resource called 'aws_iam_user_policy_attachment'.
Can you please advise how to support this? I want to generate all of my IAM users with their policies attached.
Hi @Georgeforman3 , is there an example I can look at with the same pattern? Where one needs to use 2 resource types for Terraform but only 1 for Cfn?
Hey @Georgeforman3,
It's probably unlikely the current model will support that. I'm more likely to add a new datatable type "IAM User Policy Attachments" or similar. Will get to it soon, just working on a few other things (though feel free to give it a shot and PR yourself).