417 lines
16 KiB
JSON
417 lines
16 KiB
JSON
{
|
|
"version": 4,
|
|
"terraform_version": "1.10.1",
|
|
"serial": 18,
|
|
"lineage": "a183cd95-f987-8698-c6dd-84e933c394a5",
|
|
"outputs": {
|
|
"cloud_run_url": {
|
|
"value": "https://sereact-p64zpdtkta-uc.a.run.app",
|
|
"type": "string"
|
|
},
|
|
"container_registry_url": {
|
|
"value": "gcr.io/gen-lang-client-0424120530/sereact",
|
|
"type": "string"
|
|
},
|
|
"firestore_database_id": {
|
|
"value": "projects/gen-lang-client-0424120530/databases/imagedb",
|
|
"type": "string"
|
|
},
|
|
"storage_bucket_name": {
|
|
"value": "sereact-storage-bucket",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"resources": [
|
|
{
|
|
"mode": "managed",
|
|
"type": "google_cloud_run_service",
|
|
"name": "sereact",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/google\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 2,
|
|
"attributes": {
|
|
"autogenerate_revision_name": false,
|
|
"id": "locations/us-central1/namespaces/gen-lang-client-0424120530/services/sereact",
|
|
"location": "us-central1",
|
|
"metadata": [
|
|
{
|
|
"annotations": {},
|
|
"effective_annotations": {
|
|
"run.googleapis.com/ingress": "all",
|
|
"run.googleapis.com/ingress-status": "all",
|
|
"run.googleapis.com/operation-id": "0982194f-b3e8-45b8-a33f-7ed5fd529307",
|
|
"run.googleapis.com/urls": "[\"https://sereact-761163285547.us-central1.run.app\",\"https://sereact-p64zpdtkta-uc.a.run.app\"]",
|
|
"serving.knative.dev/creator": "johnpccd3@gmail.com",
|
|
"serving.knative.dev/lastModifier": "johnpccd3@gmail.com"
|
|
},
|
|
"effective_labels": {
|
|
"cloud.googleapis.com/location": "us-central1"
|
|
},
|
|
"generation": 1,
|
|
"labels": {},
|
|
"namespace": "gen-lang-client-0424120530",
|
|
"resource_version": "AAY108GXDwM",
|
|
"self_link": "/apis/serving.knative.dev/v1/namespaces/761163285547/services/sereact",
|
|
"terraform_labels": {},
|
|
"uid": "5b695749-5095-4fb5-86bd-4d86f77dc7da"
|
|
}
|
|
],
|
|
"name": "sereact",
|
|
"project": "gen-lang-client-0424120530",
|
|
"status": [
|
|
{
|
|
"conditions": [
|
|
{
|
|
"message": "",
|
|
"reason": "",
|
|
"status": "True",
|
|
"type": "Ready"
|
|
},
|
|
{
|
|
"message": "",
|
|
"reason": "",
|
|
"status": "True",
|
|
"type": "ConfigurationsReady"
|
|
},
|
|
{
|
|
"message": "",
|
|
"reason": "",
|
|
"status": "True",
|
|
"type": "RoutesReady"
|
|
}
|
|
],
|
|
"latest_created_revision_name": "sereact-00001-bt2",
|
|
"latest_ready_revision_name": "sereact-00001-bt2",
|
|
"observed_generation": 1,
|
|
"traffic": [
|
|
{
|
|
"latest_revision": true,
|
|
"percent": 100,
|
|
"revision_name": "sereact-00001-bt2",
|
|
"tag": "",
|
|
"url": ""
|
|
}
|
|
],
|
|
"url": "https://sereact-p64zpdtkta-uc.a.run.app"
|
|
}
|
|
],
|
|
"template": [
|
|
{
|
|
"metadata": [
|
|
{
|
|
"annotations": {
|
|
"autoscaling.knative.dev/maxScale": "3"
|
|
},
|
|
"generation": 0,
|
|
"labels": {
|
|
"run.googleapis.com/startupProbeType": "Default"
|
|
},
|
|
"name": "",
|
|
"namespace": "",
|
|
"resource_version": "",
|
|
"self_link": "",
|
|
"uid": ""
|
|
}
|
|
],
|
|
"spec": [
|
|
{
|
|
"container_concurrency": 80,
|
|
"containers": [
|
|
{
|
|
"args": null,
|
|
"command": null,
|
|
"env": [
|
|
{
|
|
"name": "DATABASE_NAME",
|
|
"value": "imagedb",
|
|
"value_from": []
|
|
},
|
|
{
|
|
"name": "GCS_BUCKET_NAME",
|
|
"value": "sereact-storage-bucket",
|
|
"value_from": []
|
|
},
|
|
{
|
|
"name": "LOG_LEVEL",
|
|
"value": "INFO",
|
|
"value_from": []
|
|
}
|
|
],
|
|
"env_from": [],
|
|
"image": "gcr.io/google-samples/hello-app:1.0",
|
|
"liveness_probe": [],
|
|
"name": "",
|
|
"ports": [
|
|
{
|
|
"container_port": 8080,
|
|
"name": "http1",
|
|
"protocol": ""
|
|
}
|
|
],
|
|
"resources": [
|
|
{
|
|
"limits": {
|
|
"cpu": "1",
|
|
"memory": "512Mi"
|
|
},
|
|
"requests": null
|
|
}
|
|
],
|
|
"startup_probe": [
|
|
{
|
|
"failure_threshold": 1,
|
|
"grpc": [],
|
|
"http_get": [],
|
|
"initial_delay_seconds": 0,
|
|
"period_seconds": 240,
|
|
"tcp_socket": [
|
|
{
|
|
"port": 8080
|
|
}
|
|
],
|
|
"timeout_seconds": 240
|
|
}
|
|
],
|
|
"volume_mounts": [],
|
|
"working_dir": ""
|
|
}
|
|
],
|
|
"node_selector": null,
|
|
"service_account_name": "761163285547-compute@developer.gserviceaccount.com",
|
|
"serving_state": "",
|
|
"timeout_seconds": 300,
|
|
"volumes": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeouts": null,
|
|
"traffic": [
|
|
{
|
|
"latest_revision": true,
|
|
"percent": 100,
|
|
"revision_name": "",
|
|
"tag": "",
|
|
"url": ""
|
|
}
|
|
]
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMiJ9",
|
|
"dependencies": [
|
|
"google_project_service.services"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "google_cloud_run_service_iam_member",
|
|
"name": "public_access",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/google\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"condition": [],
|
|
"etag": "BwY108GyUf0=",
|
|
"id": "v1/projects/gen-lang-client-0424120530/locations/us-central1/services/sereact/roles/run.invoker/allUsers",
|
|
"location": "us-central1",
|
|
"member": "allUsers",
|
|
"project": "gen-lang-client-0424120530",
|
|
"role": "roles/run.invoker",
|
|
"service": "v1/projects/gen-lang-client-0424120530/locations/us-central1/services/sereact"
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "bnVsbA==",
|
|
"dependencies": [
|
|
"google_cloud_run_service.sereact",
|
|
"google_project_service.services"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "google_firestore_database",
|
|
"name": "database",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/google\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"app_engine_integration_mode": "DISABLED",
|
|
"cmek_config": [],
|
|
"concurrency_mode": "PESSIMISTIC",
|
|
"create_time": "",
|
|
"database_edition": "STANDARD",
|
|
"delete_protection_state": "DELETE_PROTECTION_DISABLED",
|
|
"deletion_policy": "ABANDON",
|
|
"earliest_version_time": "2025-05-23T20:47:31.801717Z",
|
|
"etag": "IIelp4e8uo0DMPX0nai7uo0D",
|
|
"id": "projects/gen-lang-client-0424120530/databases/imagedb",
|
|
"key_prefix": "",
|
|
"location_id": "us-central1",
|
|
"name": "imagedb",
|
|
"point_in_time_recovery_enablement": "POINT_IN_TIME_RECOVERY_DISABLED",
|
|
"project": "gen-lang-client-0424120530",
|
|
"timeouts": null,
|
|
"type": "FIRESTORE_NATIVE",
|
|
"uid": "177e30f2-9b67-428c-9979-22e625b929c4",
|
|
"update_time": "",
|
|
"version_retention_period": "3600s"
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19",
|
|
"dependencies": [
|
|
"google_project_service.services"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "google_project_service",
|
|
"name": "services",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/google\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": "cloudresourcemanager.googleapis.com",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"disable_dependent_services": null,
|
|
"disable_on_destroy": false,
|
|
"id": "gen-lang-client-0424120530/cloudresourcemanager.googleapis.com",
|
|
"project": "gen-lang-client-0424120530",
|
|
"service": "cloudresourcemanager.googleapis.com",
|
|
"timeouts": null
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInJlYWQiOjYwMDAwMDAwMDAwMCwidXBkYXRlIjoxMjAwMDAwMDAwMDAwfX0="
|
|
},
|
|
{
|
|
"index_key": "containerregistry.googleapis.com",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"disable_dependent_services": null,
|
|
"disable_on_destroy": false,
|
|
"id": "gen-lang-client-0424120530/containerregistry.googleapis.com",
|
|
"project": "gen-lang-client-0424120530",
|
|
"service": "containerregistry.googleapis.com",
|
|
"timeouts": null
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInJlYWQiOjYwMDAwMDAwMDAwMCwidXBkYXRlIjoxMjAwMDAwMDAwMDAwfX0="
|
|
},
|
|
{
|
|
"index_key": "firestore.googleapis.com",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"disable_dependent_services": null,
|
|
"disable_on_destroy": false,
|
|
"id": "gen-lang-client-0424120530/firestore.googleapis.com",
|
|
"project": "gen-lang-client-0424120530",
|
|
"service": "firestore.googleapis.com",
|
|
"timeouts": null
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInJlYWQiOjYwMDAwMDAwMDAwMCwidXBkYXRlIjoxMjAwMDAwMDAwMDAwfX0="
|
|
},
|
|
{
|
|
"index_key": "run.googleapis.com",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"disable_dependent_services": null,
|
|
"disable_on_destroy": false,
|
|
"id": "gen-lang-client-0424120530/run.googleapis.com",
|
|
"project": "gen-lang-client-0424120530",
|
|
"service": "run.googleapis.com",
|
|
"timeouts": null
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInJlYWQiOjYwMDAwMDAwMDAwMCwidXBkYXRlIjoxMjAwMDAwMDAwMDAwfX0="
|
|
},
|
|
{
|
|
"index_key": "storage.googleapis.com",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"disable_dependent_services": null,
|
|
"disable_on_destroy": false,
|
|
"id": "gen-lang-client-0424120530/storage.googleapis.com",
|
|
"project": "gen-lang-client-0424120530",
|
|
"service": "storage.googleapis.com",
|
|
"timeouts": null
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInJlYWQiOjYwMDAwMDAwMDAwMCwidXBkYXRlIjoxMjAwMDAwMDAwMDAwfX0="
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "google_storage_bucket",
|
|
"name": "app_bucket",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/google\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 3,
|
|
"attributes": {
|
|
"autoclass": [],
|
|
"cors": [],
|
|
"custom_placement_config": [],
|
|
"default_event_based_hold": false,
|
|
"effective_labels": {
|
|
"goog-terraform-provisioned": "true"
|
|
},
|
|
"enable_object_retention": false,
|
|
"encryption": [],
|
|
"force_destroy": false,
|
|
"hierarchical_namespace": [
|
|
{
|
|
"enabled": false
|
|
}
|
|
],
|
|
"id": "sereact-storage-bucket",
|
|
"labels": {},
|
|
"lifecycle_rule": [],
|
|
"location": "US-CENTRAL1",
|
|
"logging": [],
|
|
"name": "sereact-storage-bucket",
|
|
"project": "gen-lang-client-0424120530",
|
|
"project_number": 761163285547,
|
|
"public_access_prevention": "inherited",
|
|
"requester_pays": false,
|
|
"retention_policy": [],
|
|
"rpo": null,
|
|
"self_link": "https://www.googleapis.com/storage/v1/b/sereact-storage-bucket",
|
|
"soft_delete_policy": [
|
|
{
|
|
"effective_time": "2025-05-23T20:47:26.788Z",
|
|
"retention_duration_seconds": 604800
|
|
}
|
|
],
|
|
"storage_class": "STANDARD",
|
|
"terraform_labels": {
|
|
"goog-terraform-provisioned": "true"
|
|
},
|
|
"time_created": "2025-05-23T20:47:26.788Z",
|
|
"timeouts": null,
|
|
"uniform_bucket_level_access": true,
|
|
"updated": "2025-05-23T20:47:26.788Z",
|
|
"url": "gs://sereact-storage-bucket",
|
|
"versioning": [],
|
|
"website": []
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsInJlYWQiOjI0MDAwMDAwMDAwMCwidXBkYXRlIjoyNDAwMDAwMDAwMDB9LCJzY2hlbWFfdmVyc2lvbiI6IjMifQ==",
|
|
"dependencies": [
|
|
"google_project_service.services"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"check_results": null
|
|
}
|