-
Notifications
You must be signed in to change notification settings - Fork 79
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
Bump Terraform provider version to v4.56.0 #252
Conversation
/test-examples="examples/cloudplatform/serviceaccount.yaml" |
/test-examples="examples/containerazure/cluster.yaml" |
/test-examples="examples/sql/instance.yaml" |
Two MR definitions are reported to have breaking changes: No resources have been reported by the schemadiff tool. |
/test-examples="examples/containerazure/cluster.yaml" |
/test-examples="examples/sql/instance.yaml" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @ulucinar LGTM!
Signed-off-by: Alper Rifat Ulucinar <[email protected]>
3094b94
to
af1890c
Compare
@@ -31,6 +31,9 @@ const ( | |||
// ResourceConfigurators. | |||
func Configure(p *config.Provider) { //nolint:gocyclo | |||
p.AddResourceConfigurator("google_sql_database_instance", func(r *config.Resource) { | |||
// we need to workaround the newly added (with v4.56.0) | |||
// of `Optional=True` in the native provider | |||
config.MoveToStatus(r.TerraformResource, "instance_type") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In v4.56.0
of the Terraform Google provider, Optional: true
has been added to the native schema of the instance_type
attribute, which moves the generated field to spec
. We need to move it back to status
.
Description of your changes
Depends on: crossplane/upjet#172
This PR bumps the underlying Terraform provider version to
v4.56.0
.I have:
make reviewable test
to ensure this PR is ready for review.How has this code been tested
Tested resources reported by
crddiff
:Cluster.containerazure
: https://github.com/upbound/provider-gcp/actions/runs/4378403601sql.DatabaseInstance
: https://github.com/upbound/provider-gcp/actions/runs/4378404381