-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Expose version_id on google_cloudfunctions_function #9969
Expose version_id on google_cloudfunctions_function #9969
Conversation
/gcbrun |
Tests analyticsTotal tests: Click here to see the affected service packages
|
@@ -490,6 +490,11 @@ func ResourceCloudFunctionsFunction() *schema.Resource { | |||
Computed: true, | |||
Description: `Describes the current stage of a deployment.`, | |||
}, | |||
"version_id": { | |||
Type: schema.TypeInt, |
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.
It looks like this is a string (int64)
in the API, so it should be represented as a string in Terraform for consistency. TypeInt can't reliably represent int64 values.
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.
Sure, updated!
bb96d29
to
a9d2b1b
Compare
/gcbrun |
Tests analyticsTotal tests: Click here to see the affected service packages
|
This was already in the YAML but the lookup has custom code so it wasn't exposed - updated the type to be an integer since that's what the Go SDK returns, but happy to keep it a string.
Release Note Template for Downstream PRs (will be copied)