sassoftware / viya4-iac-gcp

This project contains Terraform configuration files to provision infrastructure components required to deploy SAS Viya platform products on Google Cloud
Apache License 2.0
21 stars 17 forks source link

feat!: (IAC-997) (IAC-995) Update viya4-iac-gcp Providers, Modules, & Dependencies and Patch Security Issues #173

Closed jarpat closed 1 year ago

jarpat commented 1 year ago

Changes

Update the viya4-iac-gcp Providers, Modules, & Dependencies and Patch Security Issues

Below is notes and changes that I made as I upgraded the modules/providers.

Providers

hashicorp/google & hashicorp/google-beta

Modules

module.gke

As part of updating the modules we are also going to set

  user_deletion_policy     = "ABANDON"
  database_deletion_policy = "ABANDON"

When creating a postgres instances so we will no longer be blocked by pgadmin & the SharedServices database when trying to delete the Postgres resource. Fixes https://github.com/sassoftware/viya4-iac-gcp/issues/47

Tests

See internal ticket for additional details and security report.

Scenario Provider commit kubernetes_version Deployment Method Order Cadance Notes
1 GCP 6ec6b01 1.26 (v1.26.3-gke.1000) Docker ** fast:2020 external postgres
2 GCP d18955d 1.25 (v1.25.9-gke.400) Docker ** fast:2020 external postgres, rebase retest & verify jump user-data
3 GCP 6186aaf 1.25 (v1.25.9-gke.400) Docker ** fast:2020 external postgres verify updated DB deletion, enable_cluster_autoscaling verify auto-provisioning values,  create_nfs_public_ip verify user-data
4 GCP 6186aaf 1.26 (v1.26.4-gke.500) Docker ** fast:2020 internal postgres
5 GCP fc09007 1.26 (v1.26.4-gke.500) Docker ** fast:2020 external postgres
6 GCP 5eb5078 1.26 (v1.26.4-gke.500) Docker ** fast:2020 external postgres