Skip to content

Conversation

@osterman
Copy link
Member

@osterman osterman commented Dec 15, 2018

what

  • Add S3 artifact storage as a website bucket with CloudFront (and CloudFlare) acceleration

why

  • For various artifacts from CI/CD (e.g. lambda zips)

Co-Authored-By: osterman <erik@cloudposse.com>
Copy link
Member

@aknysh aknysh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
needs terraform fmt

@osterman osterman requested a review from aknysh December 15, 2018 04:51
Copy link
Member

@aknysh aknysh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, more comments

@osterman osterman requested a review from aknysh December 15, 2018 06:08
Copy link
Member

@aknysh aknysh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comments

@osterman osterman requested a review from aknysh December 17, 2018 01:14
@osterman
Copy link
Member Author

osterman commented Dec 17, 2018

@aknysh need your help to triage some bug with the CDN module.

Everytime I apply this, it flipflops the DNS.

broken example

Here it tries to point the DNS of the alias to the s3 website instead of the DNS of the CDN distribution.

alias.876973354.name:                                         "d1ct9e0lav3q4y.cloudfront.net" => ""
alias.701075612.name:                                         "" => "s3-website-us-west-2.amazonaws.com"

working example

Here it correctly tries to set the DNS to that of the CDN distribution.

alias.701075612.name: "s3-website-us-west-2.amazonaws.com" => ""
alias.876973354.name: "" => "d1ct9e0lav3q4y.cloudfront.net"

references

@osterman
Copy link
Member Author

@aknysh bump

@osterman osterman changed the title [artifacts] Add S3 bucket for storage [aws/artifacts] Add S3 bucket for storage Dec 23, 2018
@osterman osterman merged commit df36135 into master Jan 8, 2019
@osterman osterman deleted the add-artifacts branch January 8, 2019 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants