Problem:
I want to be able to granularly create/modify a PostgreSQL CloudSQL instance in Google Cloud Platform with Terraform.
Currently there is a setting tier = "<instance_type>"
Example:
Taken from Terraform documentation
name = "master-instance"
database_version = "POSTGRES_11"
region = "us-central1"
settings {
# Second-generation instance tiers are based on the machine
# type. See argument reference below.
tier = "db-f1-micro"
}
}
Summary:
How Can I modify this to match what I have now? Can I create a custom image to use in GCP?
I see there is a way to make a custom image here, but how would I use it in Terraform?