Terraform-provider-aws: IAM group policy "does not support import"

Created on 28 May 2019  ยท  5Comments  ยท  Source: hashicorp/terraform-provider-aws

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 .

enhancement good first issue serviciam

Most helpful comment

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!

All 5 comments

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!

Was this page helpful?
0 / 5 - 0 ratings