File tree Expand file tree Collapse file tree 7 files changed +15
-13
lines changed Expand file tree Collapse file tree 7 files changed +15
-13
lines changed Original file line number Diff line number Diff line change 1
1
version : 2.1
2
2
3
3
references :
4
- circleci_docker_primary : &circleci_docker_primary trussworks/circleci-docker-primary:822fac1c30f3bb7d5d595bed5d2dc86265c4f2f0
4
+ circleci : &circleci trussworks/circleci:6986bb9022e5a83599feb66a7128a2d0fa12732a
5
5
6
6
jobs :
7
7
terratest :
8
8
docker :
9
- - image : *circleci_docker_primary
9
+ - image : *circleci
10
10
steps :
11
11
- checkout
12
12
- restore_cache :
Original file line number Diff line number Diff line change @@ -5,7 +5,9 @@ This module creates AWS CloudTrail and configures it so that logs go to cloudwat
5
5
6
6
## Terraform Versions
7
7
8
- Terraform 0.12. Pin module version to ` ~> 3.X ` . Submit pull-requests to ` master ` branch.
8
+ Terraform 0.13. Pin module version to ` ~> 4.X ` . Submit pull-requests to ` master ` branch.
9
+
10
+ Terraform 0.12. Pin module version to ` ~> 3.X ` . Submit pull-requests to ` terraform12 ` branch.
9
11
10
12
Terraform 0.11. Pin module version to ` ~> 1.X ` . Submit pull-requests to ` terraform011 ` branch.
11
13
@@ -33,14 +35,14 @@ previous invocations of the module prior to upgrading the version.
33
35
34
36
| Name | Version |
35
37
| ------| ---------|
36
- | terraform | ~ > 0.12 .0 |
37
- | aws | ~ > 2.70 |
38
+ | terraform | ~ > 0.13 .0 |
39
+ | aws | ~ > 3.0 |
38
40
39
41
## Providers
40
42
41
43
| Name | Version |
42
44
| ------| ---------|
43
- | aws | ~ > 2.70 |
45
+ | aws | ~ > 3.0 |
44
46
45
47
## Inputs
46
48
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ module "aws_cloudtrail" {
11
11
12
12
module "logs" {
13
13
source = " trussworks/logs/aws"
14
- version = " ~> 5 "
14
+ version = " ~> 9.0.0 "
15
15
16
16
s3_bucket_name = var. logs_bucket
17
17
region = var. region
Original file line number Diff line number Diff line change 1
1
provider "aws" {
2
- version = " ~> 2.70 "
3
- }
2
+ version = " ~> 3.0 "
3
+ }
Original file line number Diff line number Diff line change 1
1
module github.com/trussworks/terraform-aws-cloudtrail
2
2
3
- go 1.13
3
+ go 1.14
4
4
5
5
require (
6
6
github.com/aws/aws-sdk-go v1.34.0
Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ resource "aws_cloudtrail" "main" {
253
253
name = var. trail_name
254
254
255
255
# Send logs to CloudWatch Logs
256
- cloud_watch_logs_group_arn = aws_cloudwatch_log_group. cloudtrail . arn
256
+ cloud_watch_logs_group_arn = " ${ aws_cloudwatch_log_group . cloudtrail . arn } :* "
257
257
cloud_watch_logs_role_arn = aws_iam_role. cloudtrail_cloudwatch_role . arn
258
258
259
259
# Send logs to S3
Original file line number Diff line number Diff line change 1
1
terraform {
2
- required_version = " ~> 0.12 .0"
2
+ required_version = " ~> 0.13 .0"
3
3
4
4
required_providers {
5
- aws = " ~> 2.70 "
5
+ aws = " ~> 3.0 "
6
6
}
7
7
}
You can’t perform that action at this time.
0 commit comments