Skip to content

Commit 7d52ba6

Browse files
authored
Add generate_iam_credential_report pipeline (#81)
1 parent 4dd60a4 commit 7d52ba6

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
pipeline "generate_iam_credential_report" {
2+
title = "Generate IAM Credential Report"
3+
description = "Generates the IAM Credential Report."
4+
5+
param "conn" {
6+
type = connection.aws
7+
description = local.conn_param_description
8+
default = connection.aws.default
9+
}
10+
11+
step "container" "generate_iam_credential_report" {
12+
image = "public.ecr.aws/aws-cli/aws-cli"
13+
cmd = [
14+
"iam",
15+
"generate-credential-report"
16+
]
17+
env = param.conn.env
18+
}
19+
20+
output "status" {
21+
description = "A structure with status details about the credentials report generates."
22+
value = jsondecode(step.container.generate_iam_credential_report.stdout)
23+
}
24+
}

0 commit comments

Comments
 (0)