The docs for `gcp.gkehub.Feature` have <an example...
# google-cloud
d
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
@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
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
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
ahhh sorry, now I understand. No, that might not be supported yet.
d
that might work?
feature_id
seems promising, at least
thanks!