Skip to content

Instantly share code, notes, and snippets.

@SarahFrench
Created August 11, 2022 08:49
Show Gist options
  • Save SarahFrench/5f47b93975fc9f9aabe40c540764cd40 to your computer and use it in GitHub Desktop.
Save SarahFrench/5f47b93975fc9f9aabe40c540764cd40 to your computer and use it in GitHub Desktop.

After step 1:

  "resources": [
    {
      "mode": "managed",
      "type": "google_clouddeploy_target",
      "name": "default",
      "provider": "provider[\"registry.terraform.io/hashicorp/google\"]",
      "instances": [
        {
          "schema_version": 0,
          "attributes": {
            "annotations": null,
            "anthos_cluster": [],
            "create_time": "2022-08-11T08:35:41.142141469Z",
            "description": "",
            "etag": "b0ea9f6d0d0b3895",
            "execution_configs": [
              {
                "artifact_storage": "gs://us-central1.deploy-artifacts.[PROJECT_ID].appspot.com",
                "service_account": "sarah-cd-test-sa@[PROJECT_ID].iam.gserviceaccount.com",
                "usages": [
                  "RENDER",
                  "DEPLOY"
                ],
                "worker_pool": ""
              }
            ],
            "gke": [
              {
                "cluster": "projects/[PROJECT_ID]/locations/us-central1/clusters/sarah-cb-test-cluster",
                "internal_ip": false
              }
            ],
            "id": "projects/[PROJECT_ID]/locations/us-central1/targets/sarah-cb-test-target",
            "labels": null,
            "location": "us-central1",
            "name": "sarah-cb-test-target",
            "project": "[PROJECT_ID]",
            "require_approval": false,
            "target_id": "",
            "timeouts": null,
            "uid": "142ff6249c3d4270bb7283553cb1e320",
            "update_time": "2022-08-11T08:35:41.272427476Z"
          },
          "sensitive_attributes": [],
          "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19",
          "dependencies": [
            "google_container_cluster.default",
            "google_service_account.default"
          ]
        }
      ]
    },

After step 2:

Unchanged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment