Terraform module and AWS IAM permissions_boundary

1,569 views
Skip to first unread message

Angus Rose

unread,
Oct 24, 2018, 7:51:15 AM10/24/18
to Terraform
Hi all,
        I'm using Terraform modules to create roles and attach policies to them. I've come up against a problem though as I need to use/incorporate AWS IAM permissions boundaries which causes Terraform to throw an exception when I run apply against the script

Has anyone managed to incorporate permissions boundaries in their modules? If so, how?

Thanks

Angus

Ryan Hartkopf

unread,
Oct 29, 2018, 11:37:25 PM10/29/18
to Terraform
Hi Angus,

aws_iam_role has a permissions_boundary argument. Is this what you are looking for?

David Adams

unread,
Oct 30, 2018, 9:16:03 AM10/30/18
to terrafo...@googlegroups.com
If you are using the permissions_boundary argument, be sure your AWS provider is up to date. That attribute was introduced in 1.30.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/b2de4d15-9757-489a-abb7-b0e6d47fbcd0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages