Terraform 0.12.0
provider.aws ~> 1.17
Action:
Importing a existing aws_iam_group as stated in the following documentation:
https://www.terraform.io/docs/providers/aws/r/iam_group_policy.html
Result:
Error: resource aws_iam_group_policy doesn't support import
This issue might be similar to #8785 .
I guess the expected command for this feature should be:
terraform import aws_iam_group_policy.<resource name> <group name>:<aws group policy name>
I'm looking forward to #9217 merged in the near future !
Thanks !
Support for aws_iam_group_policy resource import has been merged and will release with version 2.18.0 of the Terraform AWS Provider, very shortly. Thanks, @lucioveloso!
This has been released in version 2.18.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.
For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!
I'm going to lock this issue because it has been closed for _30 days_ โณ. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!
Most helpful comment
Support for
aws_iam_group_policyresource import has been merged and will release with version 2.18.0 of the Terraform AWS Provider, very shortly. Thanks, @lucioveloso!