@@ -10,7 +10,7 @@ terraform {
10
10
11
11
# Import common configurations
12
12
module "common" {
13
- source = " git::https://github.com/bcgov/quickstart-aws-helpers.git//terraform/modules/common?ref=v0.1.2 "
13
+ source = " git::https://github.com/bcgov/quickstart-aws-helpers.git//terraform/modules/common?ref=v0.2.0 "
14
14
15
15
app_env = var. app_env
16
16
app_name = var. app_name
@@ -21,7 +21,7 @@ module "common" {
21
21
22
22
# Create CloudFront distribution using the CloudFront module
23
23
module "cloudfront_distribution" {
24
- source = " git::https://github.com/bcgov/quickstart-aws-helpers.git//terraform/modules/cloudfront?ref=v0.1.2 "
24
+ source = " git::https://github.com/bcgov/quickstart-aws-helpers.git//terraform/modules/cloudfront?ref=v0.2.0 "
25
25
26
26
app_name = var. app_name
27
27
cache_allowed_methods = [" GET" , " HEAD" ]
@@ -53,7 +53,7 @@ module "cloudfront_distribution" {
53
53
54
54
# Create CloudFront logs bucket
55
55
module "cloudfront_logs" {
56
- source = " git::https://github.com/bcgov/quickstart-aws-helpers.git//terraform/modules/s3-cloudfront-logs?ref=v0.1.2 "
56
+ source = " git::https://github.com/bcgov/quickstart-aws-helpers.git//terraform/modules/s3-cloudfront-logs?ref=v0.2.0 "
57
57
58
58
bucket_name = " ${ var . app_name } -cf-logs"
59
59
log_prefix = " ${ var . app_name } /cloudfront-logs/"
@@ -62,7 +62,7 @@ module "cloudfront_logs" {
62
62
63
63
# Create CloudFront Origin Access Identity
64
64
module "cloudfront_oai" {
65
- source = " git::https://github.com/bcgov/quickstart-aws-helpers.git//terraform/modules/cloudfront-oai?ref=v0.1.2 "
65
+ source = " git::https://github.com/bcgov/quickstart-aws-helpers.git//terraform/modules/cloudfront-oai?ref=v0.2.0 "
66
66
67
67
comment = " OAI for ${ var . app_name } site."
68
68
s3_bucket_arn = module. frontend_bucket . bucket_arn
@@ -71,7 +71,7 @@ module "cloudfront_oai" {
71
71
72
72
# Create the frontend S3 bucket using the secure bucket module
73
73
module "frontend_bucket" {
74
- source = " git::https://github.com/bcgov/quickstart-aws-helpers.git//terraform/modules/s3-secure-bucket?ref=v0.1.2 "
74
+ source = " git::https://github.com/bcgov/quickstart-aws-helpers.git//terraform/modules/s3-secure-bucket?ref=v0.2.0 "
75
75
76
76
bucket_name = " ${ var . app_name } -static-assets"
77
77
encryption_algorithm = " AES256"
@@ -81,7 +81,7 @@ module "frontend_bucket" {
81
81
tags = module. common . common_tags
82
82
}
83
83
module "waf_cloudfront" {
84
- source = " git::https://github.com/bcgov/quickstart-aws-helpers.git//terraform/modules/waf?ref=v0.1.2 "
84
+ source = " git::https://github.com/bcgov/quickstart-aws-helpers.git//terraform/modules/waf?ref=v0.2.0 "
85
85
86
86
description = " CloudFront WAF Rules"
87
87
enable_bad_inputs = true
0 commit comments