GCP Postgres CloudSQL database observation writes replicaConfiguration
which is only applicable for MySQL
#499
Labels
bug
Something isn't working
When creating a multi-region replicated postgres CloudSQL database, where the secondary instance has a reference via
spec.forProvider.masterInstanceName
, then the secondary instance gets the fieldspec.forProvider.replicaConfiguration
set with a list entry of an empty struct by the provider. Because of this the secondary resource gets an error like the following and can never become ready:What happened?
The
spec.forProvider.replicaConfiguration
is set by the provider as I can see in themanagedFields
The field looks like this on the secondary instance (the primary doesn't have this)
The
replicaConfiguration
says in the docs that it's only for MySQL:provider-gcp/apis/database/v1beta1/cloudsql_instance_types.go
Lines 423 to 431 in 158e607
How can we reproduce it?
create a composition with the following resources:
What environment did it happen in?
Crossplane version:
v1.10.1
GCP provider version:
v0.27.0
The text was updated successfully, but these errors were encountered: