oidc/terraform.tfstate (457 lines of code) (raw):
{
"version": 4,
"terraform_version": "1.1.7",
"serial": 115,
"lineage": "a7a7dbd8-6663-c52b-774b-99164f9da6ab",
"outputs": {},
"resources": [
{
"mode": "managed",
"type": "google_project_iam_binding",
"name": "project",
"provider": "provider[\"registry.terraform.io/hashicorp/google\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"condition": [],
"etag": "BwXcbXR5QPE=",
"id": "df-terraform-dev/roles/editor",
"members": [
"user:aribray@google.com",
"user:nicholascain@google.com"
],
"project": "df-terraform-dev",
"role": "roles/editor"
},
"sensitive_attributes": [],
"private": "bnVsbA=="
}
]
},
{
"mode": "managed",
"type": "google_project_iam_member",
"name": "cloudfunctions_admin",
"provider": "provider[\"registry.terraform.io/hashicorp/google\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"condition": [],
"etag": "BwXcbXR5QPE=",
"id": "df-terraform-dev/roles/cloudfunctions.admin/serviceAccount:oidc-sa-df-3@df-terraform-dev.iam.gserviceaccount.com",
"member": "serviceAccount:oidc-sa-df-3@df-terraform-dev.iam.gserviceaccount.com",
"project": "df-terraform-dev",
"role": "roles/cloudfunctions.admin"
},
"sensitive_attributes": [],
"private": "bnVsbA==",
"dependencies": [
"google_service_account.oidc_sa"
]
}
]
},
{
"mode": "managed",
"type": "google_project_iam_member",
"name": "project",
"provider": "provider[\"registry.terraform.io/hashicorp/google\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"condition": [],
"etag": "BwXcbXR5QPE=",
"id": "df-terraform-dev/roles/dialogflow.admin/serviceAccount:oidc-sa-df-3@df-terraform-dev.iam.gserviceaccount.com",
"member": "serviceAccount:oidc-sa-df-3@df-terraform-dev.iam.gserviceaccount.com",
"project": "df-terraform-dev",
"role": "roles/dialogflow.admin"
},
"sensitive_attributes": [],
"private": "bnVsbA==",
"dependencies": [
"google_service_account.oidc_sa"
]
}
]
},
{
"mode": "managed",
"type": "google_project_iam_member",
"name": "serviceAccountAdmin",
"provider": "provider[\"registry.terraform.io/hashicorp/google\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"condition": [],
"etag": "BwXcbXR5QPE=",
"id": "df-terraform-dev/roles/iam.serviceAccountAdmin/serviceAccount:oidc-sa-df-3@df-terraform-dev.iam.gserviceaccount.com",
"member": "serviceAccount:oidc-sa-df-3@df-terraform-dev.iam.gserviceaccount.com",
"project": "df-terraform-dev",
"role": "roles/iam.serviceAccountAdmin"
},
"sensitive_attributes": [],
"private": "bnVsbA==",
"dependencies": [
"google_service_account.oidc_sa"
]
}
]
},
{
"mode": "managed",
"type": "google_project_iam_member",
"name": "storage_object_admin",
"provider": "provider[\"registry.terraform.io/hashicorp/google\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"condition": [],
"etag": "BwXcbXR5QPE=",
"id": "df-terraform-dev/roles/storage.admin/serviceAccount:oidc-sa-df-3@df-terraform-dev.iam.gserviceaccount.com",
"member": "serviceAccount:oidc-sa-df-3@df-terraform-dev.iam.gserviceaccount.com",
"project": "df-terraform-dev",
"role": "roles/storage.admin"
},
"sensitive_attributes": [],
"private": "bnVsbA==",
"dependencies": [
"google_service_account.oidc_sa"
]
}
]
},
{
"mode": "managed",
"type": "google_project_service",
"name": "service",
"provider": "provider[\"registry.terraform.io/hashicorp/google\"]",
"instances": [
{
"index_key": "artifactregistry.googleapis.com",
"schema_version": 0,
"attributes": {
"disable_dependent_services": true,
"disable_on_destroy": true,
"id": "df-terraform-dev/artifactregistry.googleapis.com",
"project": "df-terraform-dev",
"service": "artifactregistry.googleapis.com",
"timeouts": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInJlYWQiOjYwMDAwMDAwMDAwMCwidXBkYXRlIjoxMjAwMDAwMDAwMDAwfX0="
},
{
"index_key": "cloudbuild.googleapis.com",
"schema_version": 0,
"attributes": {
"disable_dependent_services": true,
"disable_on_destroy": true,
"id": "df-terraform-dev/cloudbuild.googleapis.com",
"project": "df-terraform-dev",
"service": "cloudbuild.googleapis.com",
"timeouts": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInJlYWQiOjYwMDAwMDAwMDAwMCwidXBkYXRlIjoxMjAwMDAwMDAwMDAwfX0="
},
{
"index_key": "cloudfunctions.googleapis.com",
"schema_version": 0,
"attributes": {
"disable_dependent_services": true,
"disable_on_destroy": true,
"id": "df-terraform-dev/cloudfunctions.googleapis.com",
"project": "df-terraform-dev",
"service": "cloudfunctions.googleapis.com",
"timeouts": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInJlYWQiOjYwMDAwMDAwMDAwMCwidXBkYXRlIjoxMjAwMDAwMDAwMDAwfX0="
},
{
"index_key": "cloudresourcemanager.googleapis.com",
"schema_version": 0,
"attributes": {
"disable_dependent_services": true,
"disable_on_destroy": true,
"id": "df-terraform-dev/cloudresourcemanager.googleapis.com",
"project": "df-terraform-dev",
"service": "cloudresourcemanager.googleapis.com",
"timeouts": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInJlYWQiOjYwMDAwMDAwMDAwMCwidXBkYXRlIjoxMjAwMDAwMDAwMDAwfX0="
},
{
"index_key": "dialogflow.googleapis.com",
"schema_version": 0,
"attributes": {
"disable_dependent_services": true,
"disable_on_destroy": true,
"id": "df-terraform-dev/dialogflow.googleapis.com",
"project": "df-terraform-dev",
"service": "dialogflow.googleapis.com",
"timeouts": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInJlYWQiOjYwMDAwMDAwMDAwMCwidXBkYXRlIjoxMjAwMDAwMDAwMDAwfX0="
},
{
"index_key": "eventarc.googleapis.com",
"schema_version": 0,
"attributes": {
"disable_dependent_services": true,
"disable_on_destroy": true,
"id": "df-terraform-dev/eventarc.googleapis.com",
"project": "df-terraform-dev",
"service": "eventarc.googleapis.com",
"timeouts": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInJlYWQiOjYwMDAwMDAwMDAwMCwidXBkYXRlIjoxMjAwMDAwMDAwMDAwfX0="
},
{
"index_key": "iam.googleapis.com",
"schema_version": 0,
"attributes": {
"disable_dependent_services": true,
"disable_on_destroy": true,
"id": "df-terraform-dev/iam.googleapis.com",
"project": "df-terraform-dev",
"service": "iam.googleapis.com",
"timeouts": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInJlYWQiOjYwMDAwMDAwMDAwMCwidXBkYXRlIjoxMjAwMDAwMDAwMDAwfX0="
},
{
"index_key": "iamcredentials.googleapis.com",
"schema_version": 0,
"attributes": {
"disable_dependent_services": true,
"disable_on_destroy": true,
"id": "df-terraform-dev/iamcredentials.googleapis.com",
"project": "df-terraform-dev",
"service": "iamcredentials.googleapis.com",
"timeouts": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInJlYWQiOjYwMDAwMDAwMDAwMCwidXBkYXRlIjoxMjAwMDAwMDAwMDAwfX0="
},
{
"index_key": "run.googleapis.com",
"schema_version": 0,
"attributes": {
"disable_dependent_services": true,
"disable_on_destroy": true,
"id": "df-terraform-dev/run.googleapis.com",
"project": "df-terraform-dev",
"service": "run.googleapis.com",
"timeouts": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInJlYWQiOjYwMDAwMDAwMDAwMCwidXBkYXRlIjoxMjAwMDAwMDAwMDAwfX0="
},
{
"index_key": "sts.googleapis.com",
"schema_version": 0,
"attributes": {
"disable_dependent_services": true,
"disable_on_destroy": true,
"id": "df-terraform-dev/sts.googleapis.com",
"project": "df-terraform-dev",
"service": "sts.googleapis.com",
"timeouts": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInJlYWQiOjYwMDAwMDAwMDAwMCwidXBkYXRlIjoxMjAwMDAwMDAwMDAwfX0="
}
]
},
{
"mode": "managed",
"type": "google_service_account",
"name": "function_envoker",
"provider": "provider[\"registry.terraform.io/hashicorp/google\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"account_id": "cloud-function-envoker",
"description": "",
"disabled": false,
"display_name": "cloud-function-envoker",
"email": "cloud-function-envoker@df-terraform-dev.iam.gserviceaccount.com",
"id": "projects/df-terraform-dev/serviceAccounts/cloud-function-envoker@df-terraform-dev.iam.gserviceaccount.com",
"name": "projects/df-terraform-dev/serviceAccounts/cloud-function-envoker@df-terraform-dev.iam.gserviceaccount.com",
"project": "df-terraform-dev",
"timeouts": null,
"unique_id": "104553127311334821879"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjozMDAwMDAwMDAwMDB9fQ=="
}
]
},
{
"mode": "managed",
"type": "google_service_account",
"name": "oidc_sa",
"provider": "provider[\"registry.terraform.io/hashicorp/google\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"account_id": "oidc-sa-df-3",
"description": "",
"disabled": false,
"display_name": "",
"email": "oidc-sa-df-3@df-terraform-dev.iam.gserviceaccount.com",
"id": "projects/df-terraform-dev/serviceAccounts/oidc-sa-df-3@df-terraform-dev.iam.gserviceaccount.com",
"name": "projects/df-terraform-dev/serviceAccounts/oidc-sa-df-3@df-terraform-dev.iam.gserviceaccount.com",
"project": "df-terraform-dev",
"timeouts": null,
"unique_id": "112551574378669279130"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjozMDAwMDAwMDAwMDB9fQ=="
}
]
},
{
"mode": "managed",
"type": "google_storage_bucket",
"name": "bucket",
"provider": "provider[\"registry.terraform.io/hashicorp/google\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"cors": [],
"default_event_based_hold": false,
"encryption": [],
"force_destroy": true,
"id": "ccai-samples-df-tf",
"labels": {},
"lifecycle_rule": [],
"location": "US",
"logging": [],
"name": "ccai-samples-df-tf",
"project": "df-terraform-dev",
"requester_pays": false,
"retention_policy": [],
"self_link": "https://www.googleapis.com/storage/v1/b/ccai-samples-df-tf",
"storage_class": "STANDARD",
"timeouts": null,
"uniform_bucket_level_access": true,
"url": "gs://ccai-samples-df-tf",
"versioning": [],
"website": []
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoyNDAwMDAwMDAwMDAsInJlYWQiOjI0MDAwMDAwMDAwMCwidXBkYXRlIjoyNDAwMDAwMDAwMDB9fQ=="
}
]
},
{
"module": "module.gh_oidc",
"mode": "managed",
"type": "google_iam_workload_identity_pool",
"name": "main",
"provider": "provider[\"registry.terraform.io/hashicorp/google-beta\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"description": "Workload Identity Pool managed by Terraform",
"disabled": false,
"display_name": "",
"id": "projects/df-terraform-dev/locations/global/workloadIdentityPools/gh-pool-df-3",
"name": "projects/792212140555/locations/global/workloadIdentityPools/gh-pool-df-3",
"project": "df-terraform-dev",
"state": "ACTIVE",
"timeouts": null,
"workload_identity_pool_id": "gh-pool-df-3"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19"
}
]
},
{
"module": "module.gh_oidc",
"mode": "managed",
"type": "google_iam_workload_identity_pool_provider",
"name": "main",
"provider": "provider[\"registry.terraform.io/hashicorp/google-beta\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"attribute_condition": "",
"attribute_mapping": {
"attribute.actor": "assertion.actor",
"attribute.aud": "assertion.aud",
"attribute.repository": "assertion.repository",
"google.subject": "assertion.sub"
},
"aws": [],
"description": "Workload Identity Pool Provider managed by Terraform",
"disabled": false,
"display_name": "",
"id": "projects/df-terraform-dev/locations/global/workloadIdentityPools/gh-pool-df-3/providers/gh-provider-df-3",
"name": "projects/792212140555/locations/global/workloadIdentityPools/gh-pool-df-3/providers/gh-provider-df-3",
"oidc": [
{
"allowed_audiences": [],
"issuer_uri": "https://token.actions.githubusercontent.com"
}
],
"project": "df-terraform-dev",
"state": "ACTIVE",
"timeouts": null,
"workload_identity_pool_id": "gh-pool-df-3",
"workload_identity_pool_provider_id": "gh-provider-df-3"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19",
"dependencies": [
"module.gh_oidc.google_iam_workload_identity_pool.main"
]
}
]
},
{
"module": "module.gh_oidc",
"mode": "managed",
"type": "google_service_account_iam_member",
"name": "wif-sa",
"provider": "provider[\"registry.terraform.io/hashicorp/google\"]",
"instances": [
{
"index_key": "oidc-sa-df-3",
"schema_version": 0,
"attributes": {
"condition": [],
"etag": "BwXc803MXxI=",
"id": "projects/df-terraform-dev/serviceAccounts/oidc-sa-df-3@df-terraform-dev.iam.gserviceaccount.com/roles/iam.workloadIdentityUser/principalSet://iam.googleapis.com/projects/792212140555/locations/global/workloadIdentityPools/gh-pool-df-3/attribute.repository/GoogleCloudPlatform/contact-center-ai-samples",
"member": "principalSet://iam.googleapis.com/projects/792212140555/locations/global/workloadIdentityPools/gh-pool-df-3/attribute.repository/GoogleCloudPlatform/contact-center-ai-samples",
"role": "roles/iam.workloadIdentityUser",
"service_account_id": "projects/df-terraform-dev/serviceAccounts/oidc-sa-df-3@df-terraform-dev.iam.gserviceaccount.com"
},
"sensitive_attributes": [],
"private": "bnVsbA==",
"dependencies": [
"google_service_account.oidc_sa",
"module.gh_oidc.google_iam_workload_identity_pool.main"
]
}
]
}
]
}