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

feat(terraform): add support for using existing GKE clusters #20

Merged
merged 10 commits into from
Nov 28, 2024

Conversation

sachincool
Copy link
Member

Introduce a new variable use_existing_cluster to toggle between
creating a new GKE cluster or using an existing one. Update resources
and outputs to conditionally reference existing cluster data when
enabled. Add a migration script and upgrade guide for transitioning
from version 0.3.x to 0.4.x, ensuring a smooth upgrade process. Enhance
variable descriptions for clarity and improve documentation.

Introduce a new variable `use_existing_cluster` to toggle between
creating a new GKE cluster or using an existing one. Update resources
and outputs to conditionally reference existing cluster data when
enabled. Add a migration script and upgrade guide for transitioning
from version 0.3.x to 0.4.x, ensuring a smooth upgrade process. Enhance
variable descriptions for clarity and improve documentation.
@sachincool sachincool requested a review from dunefro November 25, 2024 20:52
sachincool and others added 6 commits November 28, 2024 14:54
Introduce `use_existing_cluster` variable to conditionally create
resources, allowing flexibility in using existing clusters. Update
firewall rules and node pool configurations to respect this setting.
Enhance variable descriptions with defaults for clarity and improve
resource tagging and filtering capabilities.
…nt cluster ID usage

fix(gke.tf): adjust firewall rule count logic to account for shared VPC with existing cluster
…lete script

Remove placeholder migration script for 0.4.x as it is no longer needed.
Update upgrade guide to include new `use_existing_cluster` variable and
instructions for using `terraform state mv` for resource migration.
@sachincool sachincool marked this pull request as ready for review November 28, 2024 11:08
sachincool and others added 2 commits November 28, 2024 17:15
…r clarity

refactor(variables.tf): reorder variables for better logical grouping and readability
@sachincool sachincool merged commit 0ec500b into main Nov 28, 2024
@sachincool sachincool deleted the hl/existing_cluster_gcp branch November 28, 2024 11:49
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.

2 participants