Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tf_mod_aws_cloudtrail_ops
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_cloudtrail_ops
Commits
911e1109
Commit
911e1109
authored
Dec 22, 2016
by
Chris Merrett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated README.md to include example for child accounts
parent
a0d03932
Pipeline
#821
passed with stage
in 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
README.md
README.md
+13
-1
No files found.
README.md
View file @
911e1109
...
@@ -10,7 +10,6 @@ Input Variables
...
@@ -10,7 +10,6 @@ Input Variables
-
`environment`
- The environment name that you're assigning. As this module is designed for "ops" accounts, "ops" is the default.
-
`environment`
- The environment name that you're assigning. As this module is designed for "ops" accounts, "ops" is the default.
-
`child_accounts`
- A list of AWS account ID's that will also be writing Cloudtrail information to the ops bucket.
-
`child_accounts`
- A list of AWS account ID's that will also be writing Cloudtrail information to the ops bucket.
Outputs
Outputs
-------
-------
...
@@ -42,3 +41,16 @@ module "cloudtrail_ops" {
...
@@ -42,3 +41,16 @@ module "cloudtrail_ops" {
child_accounts = "${var.aws_child_accounts}"
child_accounts = "${var.aws_child_accounts}"
}
}
```
```
2.
) Add the following snippet to any child accounts template, so "production" or "staging" for example. You
**do not**
need this for ops.
```
#############################################################################################################
# CloudTrail
#############################################################################################################
resource "aws_cloudtrail" "ops-cloudtrail" {
name = "${var.name}-ops-cloudtrail"
s3_bucket_name = "${var.name}-ops-cloudtrail"
include_global_service_events = true
}
```
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