Open voldemortensen opened 4 years ago
Just ran into this as well - could be very useful!
This might be outdated, I had imported several aws_iam_policy_attachment resources today. It looks like it just needs to be documented but the id is role/policy_arn
so commands are like terraform import aws_iam_role_policy_attachment.rds_enhanced_monitoring rds-monitoring-role/arn:aws:iam::aws:policy/service-role/AmazonRDSEnhancedMonitoringRole
.
@bstoutenburgh You're importing aws_iam_role_policy_attachment
- this issue is about aws_iam_policy_attachment
.
Community Note
Description
Currently aws_iam_policy_attachment resources don't support import. This request is for the ability to import policy attachments.
New or Affected Resource(s)
Potential Terraform Configuration
Standard configuration for aws_iam_policy_attachment