Closed aureq closed 1 year ago
Hi @aureq Sorry we never responded to you here.
The upstream provider says
Currently at most one health check can be specified.
The code also defines it as MaxItems:1
: https://github.com/hashicorp/terraform-provider-google-beta/blob/b3ebec364de8e2daf7afc0006fa5b0a86093ff83/google-beta/services/compute/resource_compute_backend_service.go#L642-L651
Because of that, TF Bridge maps the property to a simple string
, since multiple values aren't accepted anyway.
I'll go ahead and close this issue as by-design.
What happened?
While using our doc examples, it seems like there's a data type discrepancy for the
healthChecks
property.Right now, the
healthChecks
property is of typepulumi.Input<string>
but this doesn't seem to be right according to upstream TF provider doc or the Google API resource definition.Steps to reproduce
Expected Behavior
Actual Behavior
Type 'Output<string>[]' is not assignable to type 'Input<string> | undefined'.ts(2322)
[]
Versions used
Additional context
Removing the
[]
as shown below allows the deployment to complete.Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).