Created
March 23, 2023 20:18
-
-
Save hendrixroa/26b3b81ad4725e066f16111da2ed5036 to your computer and use it in GitHub Desktop.
Creating s3 object
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "aws_s3_bucket_object" "main" { | |
bucket = var.s3_bucket_id | |
key = var.key_s3_bucket | |
source = data.archive_file.main.output_path | |
etag = data.archive_file.main.output_base64sha256 | |
depends_on = [ | |
data.archive_file.main, | |
null_resource.main, | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment