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

Environments templates #17

Merged
merged 24 commits into from
Jan 10, 2025
Merged

Environments templates #17

merged 24 commits into from
Jan 10, 2025

Conversation

Jlkan
Copy link
Contributor

@Jlkan Jlkan commented Oct 21, 2024

No description provided.

@Jlkan Jlkan added the review me 👀 PR is ready to be reviewed label Oct 21, 2024
templates/dev/ci.tf Outdated Show resolved Hide resolved
templates/dev/ecr.tf Outdated Show resolved Hide resolved
templates/production/ci.tf Outdated Show resolved Hide resolved
templates/production/ecs.tf Outdated Show resolved Hide resolved
templates/production/rds.tf Outdated Show resolved Hide resolved
templates/production/rds.tf Outdated Show resolved Hide resolved
templates/production/rds.tf Outdated Show resolved Hide resolved
templates/staging/ci.tf Outdated Show resolved Hide resolved
templates/staging/route53.tf Outdated Show resolved Hide resolved
templates/staging/variables.tf Outdated Show resolved Hide resolved
Copy link
Contributor Author

@Jlkan Jlkan left a comment

Choose a reason for hiding this comment

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

Review

@Jlkan Jlkan added the devops 🔧 Infrastructure related work label Dec 11, 2024
@Jlkan Jlkan assigned Jlkan and qbart and unassigned qbart and Jlkan Dec 11, 2024
templates/dev/s3.tf Outdated Show resolved Hide resolved
Copy link
Member

@qbart qbart left a comment

Choose a reason for hiding this comment

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

Couple of changes:

  1. All paths should be relative so modules are loaded from local file system (no github)
  2. Make sure there is no random resources for templates - usually moduels handle randomizatio inside
  3. Make sure there is no external project reference names (dm3, or customer related)
  4. Staging and production should contain example of S3 for storing files and default IAM app user that has read/write access to bucket
  5. No need for outputs in templates

templates/staging/ecs.tf Outdated Show resolved Hide resolved
templates/staging/networking.tf Outdated Show resolved Hide resolved
templates/staging/rds.tf Outdated Show resolved Hide resolved
templates/staging/cloudfront.tf Outdated Show resolved Hide resolved
templates/staging/cloudfront.tf Outdated Show resolved Hide resolved
templates/production/rds.tf Outdated Show resolved Hide resolved
templates/dev/secrets.tf Outdated Show resolved Hide resolved
@Jlkan Jlkan requested a review from qbart January 9, 2025 12:26
templates/dev/iam.tf Outdated Show resolved Hide resolved
templates/dev/iam.tf Outdated Show resolved Hide resolved
templates/dev/route53.tf Outdated Show resolved Hide resolved
templates/dev/secrets.tf Outdated Show resolved Hide resolved
templates/production/cloudfront.tf Outdated Show resolved Hide resolved
templates/production/networking.tf Outdated Show resolved Hide resolved
templates/staging/cloudfront.tf Outdated Show resolved Hide resolved
templates/staging/networking.tf Outdated Show resolved Hide resolved
@Jlkan Jlkan requested a review from qbart January 10, 2025 12:43
@qbart qbart merged commit 73e299f into main Jan 10, 2025
@qbart qbart deleted the feat-templates branch January 10, 2025 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops 🔧 Infrastructure related work review me 👀 PR is ready to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants