Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tf_mod_aws_cloudcheckr
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
steamhaus
tf_mod_aws_cloudcheckr
Commits
bbd0cc5c
Commit
bbd0cc5c
authored
Dec 13, 2016
by
A-Gordon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added role_arn output and updated README
parent
e32398db
Pipeline
#737
passed with stage
in 7 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
README.md
README.md
+4
-0
main.tf
main.tf
+4
-1
No files found.
README.md
View file @
bbd0cc5c
...
...
@@ -11,4 +11,8 @@ module "cloudcheckr" {
account_id = "cloudcheckr_aws_account_id"
external_id = "cloudcheckr_external_id"
}
output "cloudcheckr_role_arn" {
value = "${module.cloudcheckr.role_arn}"
}
```
main.tf
View file @
bbd0cc5c
...
...
@@ -9,7 +9,6 @@
data
"template_file"
"assume_role"
{
template
=
"
${
file
(
"
${
path
.
module}
/assume_role.json.tpl"
)
}
"
vars
{
account_id
=
"
${
var
.
account_id
}
"
external_id
=
"
${
var
.
external_id
}
"
...
...
@@ -39,3 +38,7 @@ output "name" {
output
"policy"
{
value
=
"
${
aws_iam_policy
.
main
.
name
}
"
}
output
"role_arn"
{
value
=
"
${
aws_iam_role
.
main
.
arn
}
"
}
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