Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
terraform-aws-iam
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Terraform Modules
terraform-aws-iam
Commits
c3a37984
Unverified
Commit
c3a37984
authored
Sep 20, 2021
by
Kostas Stavropoulos
Committed by
GitHub
Sep 20, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: Added output group_arn to iam-group-with-policies (#165)
parent
f5aab59b
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
0 deletions
+12
-0
README.md
examples/iam-group-with-policies/README.md
+1
-0
outputs.tf
examples/iam-group-with-policies/outputs.tf
+5
-0
README.md
modules/iam-group-with-policies/README.md
+1
-0
outputs.tf
modules/iam-group-with-policies/outputs.tf
+5
-0
No files found.
examples/iam-group-with-policies/README.md
View file @
c3a37984
...
...
@@ -51,6 +51,7 @@ No inputs.
| Name | Description |
|------|-------------|
|
<a
name=
"output_group_arn"
></a>
[
group\_arn
](
#output\_group\_arn
)
| IAM group arn |
|
<a
name=
"output_group_name"
></a>
[
group\_name
](
#output\_group\_name
)
| IAM group name |
|
<a
name=
"output_group_users"
></a>
[
group\_users
](
#output\_group\_users
)
| List of IAM users in IAM group |
|
<a
name=
"output_iam_account_id"
></a>
[
iam\_account\_id
](
#output\_iam\_account\_id
)
| IAM AWS account id |
...
...
examples/iam-group-with-policies/outputs.tf
View file @
c3a37984
...
...
@@ -3,6 +3,11 @@ output "iam_account_id" {
value
=
module
.
iam_group_superadmins
.
aws_account_id
}
output
"group_arn"
{
description
=
"IAM group arn"
value
=
module
.
iam_group_superadmins
.
group_arn
}
output
"group_users"
{
description
=
"List of IAM users in IAM group"
value
=
module
.
iam_group_superadmins
.
group_users
...
...
modules/iam-group-with-policies/README.md
View file @
c3a37984
...
...
@@ -54,6 +54,7 @@ No modules.
| Name | Description |
|------|-------------|
|
<a
name=
"output_aws_account_id"
></a>
[
aws\_account\_id
](
#output\_aws\_account\_id
)
| IAM AWS account id |
|
<a
name=
"output_group_arn"
></a>
[
group\_arn
](
#output\_group\_arn
)
| IAM group arn |
|
<a
name=
"output_group_name"
></a>
[
group\_name
](
#output\_group\_name
)
| IAM group name |
|
<a
name=
"output_group_users"
></a>
[
group\_users
](
#output\_group\_users
)
| List of IAM users in IAM group |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
modules/iam-group-with-policies/outputs.tf
View file @
c3a37984
...
...
@@ -3,6 +3,11 @@ output "aws_account_id" {
value
=
local
.
aws_account_id
}
output
"group_arn"
{
description
=
"IAM group arn"
value
=
element
(
concat
(
aws_iam_group
.
this
.*.
arn
,
[
""
]
),
0
)
}
output
"group_users"
{
description
=
"List of IAM users in IAM group"
value
=
flatten
(
aws_iam_group_membership
.
this
.*.
users
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment