https://pulumi.com logo
Title
s

straight-fireman-55591

04/17/2023, 1:48 PM
Just a question. Is it enforced by GCP or pulumi that below resources in
gcp:container:Cluster
are enabled in 3 different ways?
addonsConfig:
        horizontalPodAutoscaling:
          disabled: false
clusterTelemetry:
        type: ENABLED
costManagementConfig: 
        enabled: true
b

billowy-army-68599

04/17/2023, 2:22 PM
those are three different resources?
s

straight-fireman-55591

04/17/2023, 2:23 PM
Those are properties of gcp:container:Cluster
b

billowy-army-68599

04/17/2023, 2:23 PM
yep, but they correspond to elements of the cluster you may or may want to enable
s

straight-fireman-55591

04/17/2023, 2:24 PM
yes, my question is why do we enable them in 3 different ways.
disabled: false is the same as enabled: true and type: enabled
b

billowy-army-68599

04/17/2023, 2:24 PM
ohhhh, sorry I see now
that’s just a component of the uptream API, it’s because there’s no consistency in API endpoints
s

straight-fireman-55591

04/17/2023, 2:25 PM
ok, just wondered , that explain