Add source_md5hash to avoid inconsistent plan on updates to FAST output files
This commit is contained in:
@@ -18,8 +18,9 @@ output "project_id" {
|
||||
}
|
||||
|
||||
resource "google_storage_bucket_object" "version" {
|
||||
count = fileexists("fast_version.txt") ? 1 : 0
|
||||
bucket = var.automation.outputs_bucket
|
||||
name = "versions/3-${var.stage_config.name}-version.txt"
|
||||
source = "fast_version.txt"
|
||||
count = fileexists("fast_version.txt") ? 1 : 0
|
||||
bucket = var.automation.outputs_bucket
|
||||
name = "versions/3-${var.stage_config.name}-version.txt"
|
||||
source = "fast_version.txt"
|
||||
source_md5hash = filemd5("fast_version.txt")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user