Skip to content
  • Olivier Dupré's avatar
    900e954b
    [skip-ci] Merge branch 'update-main-project' into 'main' · 900e954b
    Olivier Dupré authored and Kristof Goossens's avatar Kristof Goossens committed
    Fix issues on variable names and API calls
    
    See merge request !5
    
    Refactor Terraform configuration to use variables for Google Cloud Platform (GCP) project, region, and zone.
    
    The changes were made to improve the flexibility and reusability of the Terraform configuration by introducing variables for the GCP project, region, and zone. 
    
    The `google_container_cluster.primary` resource now uses the `var.google_region` variable instead of the hardcoded `var.region` value. Similarly, the `google` provider now uses the `var.google_project`, `var.google_region`, and `var.google_zone` variables instead of the hardcoded values.
    
    The `variables.tf` file has been updated to include the new variables `google_project`, `google_region`, and `google_zone` with their respective descriptions and default values.
    
    The `.gitlab-ci.yml` file has been updated to use the `TF_VAR_google_project`, `TF_VAR_google_region`, and `TF_VAR_google_zone` variables as part of the CI/CD pipeline.
    
    The `README.md` file has been updated to reflect the changes in the CI/CD variables section, mentioning the need to set the `TF_VAR_google_project`, `TF_VAR_google_region`, and `TF_VAR_google_zone` variables as part of the CI/CD configuration.
    
    These changes allow for easier customization and reuse of the Terraform configuration across different GCP projects, regions, and zones.
    
    -------
    🤖 Commit message generated by AI
    900e954b
    [skip-ci] Merge branch 'update-main-project' into 'main'
    Olivier Dupré authored and Kristof Goossens's avatar Kristof Goossens committed
    Fix issues on variable names and API calls
    
    See merge request !5
    
    Refactor Terraform configuration to use variables for Google Cloud Platform (GCP) project, region, and zone.
    
    The changes were made to improve the flexibility and reusability of the Terraform configuration by introducing variables for the GCP project, region, and zone. 
    
    The `google_container_cluster.primary` resource now uses the `var.google_region` variable instead of the hardcoded `var.region` value. Similarly, the `google` provider now uses the `var.google_project`, `var.google_region`, and `var.google_zone` variables instead of the hardcoded values.
    
    The `variables.tf` file has been updated to include the new variables `google_project`, `google_region`, and `google_zone` with their respective descriptions and default values.
    
    The `.gitlab-ci.yml` file has been updated to use the `TF_VAR_google_project`, `TF_VAR_google_region`, and `TF_VAR_google_zone` variables as part of the CI/CD pipeline.
    
    The `README.md` file has been updated to reflect the changes in the CI/CD variables section, mentioning the need to set the `TF_VAR_google_project`, `TF_VAR_google_region`, and `TF_VAR_google_zone` variables as part of the CI/CD configuration.
    
    These changes allow for easier customization and reuse of the Terraform configuration across different GCP projects, regions, and zones.
    
    -------
    🤖 Commit message generated by AI
Loading