Difference between revisions of "Terraform resource: aws s3 object"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
 
   key    = "new_object_key"
 
   key    = "new_object_key"
 
   source = "path/to/file"
 
   source = "path/to/file"
 
+
  # The filemd5() function is available in Terraform 0.11.12 and later
 
  # For Terraform 0.11.11 and earlier, use the md5() function and the file() function:
 
  # etag = "${md5(file("path/to/file"))}"
 
 
   [[etag]] = [[filemd5]]("path/to/file")
 
   [[etag]] = [[filemd5]]("path/to/file")
 
  }
 
  }

Revision as of 09:34, 4 January 2024

Advertising: