Skip to content

Conversation

@ikovac
Copy link
Contributor

@ikovac ikovac commented Nov 15, 2023

  • make domain and hostedZoneId args optional for static site
  • fetch ec2 ami id from aws instead of having hardcoded ami id
  • update rds to version 15
  • autogenerate rds password if not specified

Closes #4

@ikovac ikovac requested a review from ptrutanicex November 15, 2023 10:14
this.bucket = this.createPublicBucket({ tags });
this.cloudfront = this.createCloudfrontDistribution({ domain, tags });
this.createDnsRecord({ domain, hostedZoneId });
if (hasCustomDomain) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this not grouped with creating Tls certificate in line 46?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It depends on Cloudfront distribution and therefore it must be called after CloudFront creation

@ikovac ikovac merged commit 14d7d65 into master Nov 15, 2023
@ikovac ikovac deleted the chore/static-site-rds-improvements branch November 15, 2023 11:02
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.

Get EC2 AMI based on region

3 participants