-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add iam group data source #1138
Comments
Fixes: #1138 ``` % make testacc TEST=./aws TESTARGS='-run=TestAccAWSDataSourceIAMGroup' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -run=TestAccAWSDataSourceIAMGroup -timeout 120m === RUN TestAccAWSDataSourceIAMGroup_basic --- PASS: TestAccAWSDataSourceIAMGroup_basic (31.44s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 31.464s ```
Fixes: #1138 ``` % make testacc TEST=./aws TESTARGS='-run=TestAccAWSDataSourceIAMGroup' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -run=TestAccAWSDataSourceIAMGroup -timeout 120m === RUN TestAccAWSDataSourceIAMGroup_basic --- PASS: TestAccAWSDataSourceIAMGroup_basic (31.44s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 31.464s ```
this is great! thanks so much for adding that. |
Hi @eredi93 Please can you open another issue for this so that it doesn't get lost in a closed issue? Thanks Paul |
sure will do |
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! |
we currently have a iam role data source but not a iam group one.
my use case, i dont fully manage my account with terraform and i need to make sure that any user part of group A are part of the KMS key policy.
i currently hacked around a module that uses a data external and a bash script that returns a list of names and ARNs but it would be better to have a proper data source for it. writing modules that uses bash scripts and aws cli to get what i need makes me 😱
The text was updated successfully, but these errors were encountered: