Thread
#general
    b

    blue-leather-96987

    2 months ago
    I am having a bit of a hard time figuring out how I can ignore specific keys of the form: {[key: string]: string} Specifically:https://www.pulumi.com/registry/packages/gcp/api-docs/cloudrun/service/#annotations_nodejs
    Say I have:
    template: {
              metadata: {
                  annotations: {
                      "autoscaling.knative.dev/maxScale"     : "100"
                      "<http://run.googleapis.com/client-name|run.googleapis.com/client-name>"       : "gcloud"
    I know I can ignoreChanges of all annotations by ignoring template.metadata.annotations, but how can I reference the
    <http://run.googleapis.com/client-name|run.googleapis.com/client-name>
    key? I tried a few things, like
    "template.metadata.annotations[\"<http://autoscaling.knative.dev/maxScale|autoscaling.knative.dev/maxScale>\"]"
    but it always gets detected