Commit e62303d7 authored by Jose Ernesto Suarez's avatar Jose Ernesto Suarez

Copying the index file

parent 81145f9e
......@@ -8,3 +8,10 @@ module "web_storage" {
force_destroy = var.force_destroy
}
resource "aws_s3_object_copy" "index" {
bucket = module.web_storage.s3_bucket_id
key = "index.html"
source = "${path.module}/html/index.html"
etag = filemd5("${path.module}/html/index.html")
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment