Sam Levenick

Results 126 comments of Sam Levenick

I believe this can be done now via the `google_project_service` resource that was released recently: https://github.com/inspec/inspec-gcp/pull/196 Similar to https://github.com/inspec/inspec-gcp/issues/192

Are there other places you would like to use conditions? I can't currently implement it on every resource, as it is only supported on a subset of GCP resources: https://cloud.google.com/iam/docs/conditions-overview...

FYI, my current implementation is going to have an optional `condition` object passed to the `*iam_binding` resource that will match the fields in the `condition` returned by the API. For...

The downside to using a wildcard is that it could potentially return multiple bindings that match, and there isn't a good way using a `_iam_binding` resource to differentiate between them....

Yeah, it's definitely possible. It will likely take me a bit to implement though

So, as a fun feature of the current implementation of `google_organization_policy` you can retrieve folder level policies by passing in the folder name instead of an organization name for `name`...

If a property doesn't exist on a resource the method doesn't get created. So if the property only is returned by the API in certain cases, it's tricky to write...

That's a bad link on my part The stable version is the same: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters Edit: looks like you're correct, we are using the beta version within that resource `Google::Apis::ContainerV1beta1::ContainerService` Not...

I believe terraform is not specifying `IPV4` as a default when it creates the global address. I would add `ip_version = "IPV4"` to your terraform file and see if it...

Hmmm, I'm not sure what to think here. Are you sure that the `ipVersion` field is actually set on that resource? Can you check via gcloud or the cloud console?...