Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements on Pulumi-related code #1500

Merged
merged 8 commits into from Mar 12, 2021
Merged

Conversation

adrians5j
Copy link
Member

@adrians5j adrians5j commented Mar 12, 2021

Related Issue

Along the way, in a real Webiny project, we discovered a couple of issues and improvements that can be made to the infrastructure-related Pulumi code, mainly in the production environment section.

  1. The production configuration for ElasticSearch had an invalid configuration in the subnets section, causing the production deployment to fail. This has now been addressed (additional private subnet added).
  2. We removed the accidental double slash (//) in a path of one of the functions.
  3. We added the protected flag to mission-critical resources: DynamoDB and ElasticSearch databases, Cognito user pool, and important S3 buckets. This will protect users from performing the yarn webiny destroy command in the production environment.

How Has This Been Tested?

Manual.

Screenshots (if relevant):

image

@adrians5j adrians5j added the bug label Mar 12, 2021
@adrians5j adrians5j self-assigned this Mar 12, 2021
@adrians5j adrians5j merged commit a7c8374 into next Mar 12, 2021
@adrians5j adrians5j deleted the pulumi-infra-improvements branch March 12, 2021 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant