Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
terraform-aws-static-website-cdn
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Terraform Modules
terraform-aws-static-website-cdn
Commits
e62303d7
Commit
e62303d7
authored
Dec 01, 2022
by
Jose Ernesto Suarez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Copying the index file
parent
81145f9e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
favicon.ico
modules/s3/html/favicon.ico
+0
-0
index.html
modules/s3/html/index.html
+0
-0
main.tf
modules/s3/main.tf
+8
-1
No files found.
htmldocs
/favicon.ico
→
modules/s3/html
/favicon.ico
View file @
e62303d7
File moved
htmldocs
/index.html
→
modules/s3/html
/index.html
View file @
e62303d7
File moved
modules/s3/main.tf
View file @
e62303d7
...
...
@@ -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"
)
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment