File tree 3 files changed +6
-2
lines changed
3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 0.1.1 - 19th June 2021
4
+
5
+ Bugfix: Refactor md5 calculation on archive_file in codebuild child module.
6
+
3
7
## 0.1.0 - 19th June 2021
4
8
5
9
Initial release of Serverless Static Wordpress Terraform module.
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ resource "aws_s3_bucket_object" "wordpress_dockerbuild" {
59
59
bucket = aws_s3_bucket. code_source . id
60
60
key = " wordpress_docker.zip"
61
61
source = " ${ path . module } /codebuild_files/wordpress_docker.zip"
62
- etag = filemd5 ( " ${ path . module } /codebuild_files/wordpress_docker.zip " )
62
+ etag = data . archive_file . code_build_package . output_md5
63
63
}
64
64
65
65
resource "aws_security_group" "codebuild_security_group" {
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ output "codebuild_project_name" {
4
4
}
5
5
6
6
output "codebuild_package_etag" {
7
- value = filemd5 ( " ${ path . module } /codebuild_files/wordpress_docker.zip " )
7
+ value = data . archive_file . code_build_package . output_md5
8
8
description = " The etag of the codebuild package file."
9
9
}
You can’t perform that action at this time.
0 commit comments