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
7553adb7
Unverified
Commit
7553adb7
authored
Apr 15, 2021
by
Anton Babenko
Committed by
GitHub
Apr 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: Set sensitive=true for sensitive outputs and use tolist() (#148)
parent
50e46b39
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
outputs.tf
examples/iam-user/outputs.tf
+2
-0
main.tf
modules/iam-assumable-role/main.tf
+1
-1
outputs.tf
modules/iam-user/outputs.tf
+2
-0
No files found.
examples/iam-user/outputs.tf
View file @
7553adb7
...
@@ -41,11 +41,13 @@ output "this_iam_access_key_encrypted_secret" {
...
@@ -41,11 +41,13 @@ output "this_iam_access_key_encrypted_secret" {
output
"this_iam_access_key_secret"
{
output
"this_iam_access_key_secret"
{
description
=
"The access key secret"
description
=
"The access key secret"
value
=
module
.
iam_user
.
this_iam_access_key_secret
value
=
module
.
iam_user
.
this_iam_access_key_secret
sensitive
=
true
}
}
output
"this_iam_access_key_ses_smtp_password_v4"
{
output
"this_iam_access_key_ses_smtp_password_v4"
{
description
=
"The secret access key converted into an SES SMTP password"
description
=
"The secret access key converted into an SES SMTP password"
value
=
module
.
iam_user
.
this_iam_access_key_ses_smtp_password_v4
value
=
module
.
iam_user
.
this_iam_access_key_ses_smtp_password_v4
sensitive
=
true
}
}
output
"this_iam_access_key_status"
{
output
"this_iam_access_key_status"
{
...
...
modules/iam-assumable-role/main.tf
View file @
7553adb7
locals
{
locals
{
role_sts_externalid
=
flatten
(
list
(
var
.
role_sts_externalid
))
role_sts_externalid
=
flatten
(
to
list
(
var
.
role_sts_externalid
))
}
}
data
"aws_iam_policy_document"
"assume_role"
{
data
"aws_iam_policy_document"
"assume_role"
{
...
...
modules/iam-user/outputs.tf
View file @
7553adb7
...
@@ -43,6 +43,7 @@ output "this_iam_access_key_id" {
...
@@ -43,6 +43,7 @@ output "this_iam_access_key_id" {
output
"this_iam_access_key_secret"
{
output
"this_iam_access_key_secret"
{
description
=
"The access key secret"
description
=
"The access key secret"
value
=
element
(
concat
(
aws_iam_access_key
.
this_no_pgp
.*.
secret
,
[
""
]
),
0
)
value
=
element
(
concat
(
aws_iam_access_key
.
this_no_pgp
.*.
secret
,
[
""
]
),
0
)
sensitive
=
true
}
}
output
"this_iam_access_key_key_fingerprint"
{
output
"this_iam_access_key_key_fingerprint"
{
...
@@ -65,6 +66,7 @@ output "this_iam_access_key_ses_smtp_password_v4" {
...
@@ -65,6 +66,7 @@ output "this_iam_access_key_ses_smtp_password_v4" {
),
),
0
0
)
)
sensitive
=
true
}
}
output
"this_iam_access_key_status"
{
output
"this_iam_access_key_status"
{
...
...
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