https://pulumi.com logo
#google-cloud
Title
# google-cloud
d

damp-magazine-59707

10/16/2023, 7:17 PM
The docs for
gcp.gkehub.Feature
have an example for multi-cluster Services (MCS), but it seems to be entirely incomplete -- the code is just placeholder code with no actual feature spec. does that mean that it's not yet supported? i couldn't find an issue tracking it
b

billowy-army-68599

10/17/2023, 1:23 PM
@damp-magazine-59707 we generate these examples from the upstream provider, and that’s the only code provided.
it does seem to work though, you’ll just need to look at the inputs for spec
d

damp-magazine-59707

10/17/2023, 2:02 PM
not sure i follow -- there is no
spec
in the example provided. looking at the provider code, i don't see any class i could conceivably offer as the
spec
to enable MCS.
d

damp-magazine-59707

10/17/2023, 2:54 PM
yeah -- the `FeatureSpecArgs` docs indicate that it can accept
fleetobservability
or
multiclusteringress
, but nothing for MCS. it says
spec
is optional, but in that case it's unclear to me how Pulumi determines that you want to enable MCS (and not, say, service mesh, which also has no spec). is
name
a magical field? i.e., do I need to use
gcp.gkehub.Feature("multi-cluster-services", ...)
(which is the name of the feature as used in the CLI)? if so that's certainly not indicated in the docs
b

billowy-army-68599

10/17/2023, 3:01 PM
ahhh sorry, now I understand. No, that might not be supported yet.
d

damp-magazine-59707

10/17/2023, 3:04 PM
that might work?
feature_id
seems promising, at least
thanks!