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

Split infrastructure build resources from application build resources #104

Open
zefdelgadillo opened this issue Oct 16, 2023 · 0 comments
Open

Comments

@zefdelgadillo
Copy link

The deployment steps rely on several null_resource Terraform local-execs to perform tasks such as Docker image builds, Firestore index configuration, and some DNS record changes.

On first-time configuration, some of these external dependencies (e.g. Python, gcloud sdk) might not be apparent; if a deployment doesn't complete all the way as a result, then the environment is left in a partially configured state which might be difficult to resolve.

Proposed updates:

  • Replace local-exec resources with their Terraform equivalent where possible (Cloud DNS configuration, Cloud Build/Cloud Run configs)
  • Decouple application configuration and container builds from the infrastructure resources to improve idempotence
  • Modularize/allow optional configuration that might be managed elsewhere, such as Cloud DNS configuration
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

No branches or pull requests

1 participant