Closed mathieu-benoit closed 11 months ago
error provisiong resource dns#modules.my-sample-app.externals.dns Status: False. Reason: ResourceProvisionError. Message: resolving resource input secrets: getting remote secret orgs/humanitec/resources/dynamic/default-humanitec-dns/account: secret not found
Deployment ID: bd093ddffbb70a3fdb862bfa257c47b6b8b679c0
Deployment failed for PR-91! :x:
Errors:
Errors details
### Errors details: ```json [ { "apiVersion": "entity.humanitec.io/v1b1", "entity": {}, "kind": "DeploymentError", "metadata": { "app_id": "my-sample-app", "deploy_id": "17a039c3cbdbf9f8", "env_id": "pr-91", "org_id": "my-trial" }, "status": { "code": "RES-001", "error_type": "", "message": "error provisiong resource dns#modules.my-sample-app.externals.dns Status: False. Reason: ResourceProvisionError. Message: resolving resource input secrets: getting remote secret orgs/humanitec/resources/dynamic/default-humanitec-dns/account: secret not found", "object_id": "", "scope": "environment", "summary": "Internal error" } } ] ```View in Humanitec
Deployment ID: bd093ddffbb70a3fdb862bfa257c47b6b8b679c0
Domains:
Deployment diff
### Deployment diff: ```json { "modules": { "add": null, "remove": [], "update": { "my-sample-app": [ { "from": "", "op": "replace", "path": "/spec/containers/my-sample-app/image", "value": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:2d2efe5f36598de4b5d89919843801a3c3ffd3ea75a6bd5765f2db633c4025ce" }, { "from": "", "op": "replace", "path": "/spec/containers/my-sample-app/variables/MESSAGE", "value": "Hello, Test!" } ] } }, "shared": null } ```Score Output
### Score Output: ```json { "id": "bd093ddffbb70a3fdb862bfa257c47b6b8b679c0", "metadata": { "env_id": "pr-91", "name": "Update score.yaml", "url": "https://app.humanitec.io/orgs/my-trial/apps/my-sample-app/envs/pr-91/draft/bd093ddffbb70a3fdb862bfa257c47b6b8b679c0", "created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8", "created_at": "2023-12-12T23:36:11.974313211Z", "last_modified_at": "2023-12-12T23:36:11.974313211Z" }, "modules": { "add": { "my-sample-app": { "externals": { "dns": { "class": "default", "type": "dns" }, "route": { "class": "default", "params": { "host": "${externals.dns.host}", "path": "/", "port": 8080 }, "type": "route" } }, "profile": "humanitec/default-module", "spec": { "annotations": { "humanitec.io/managed-by": "score-humanitec" }, "containers": { "my-sample-app": { "id": "my-sample-app", "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:2d2efe5f36598de4b5d89919843801a3c3ffd3ea75a6bd5765f2db633c4025ce", "variables": { "MESSAGE": "Hello, Test!", "NAMESPACE_NAME": "${pod.metadata.namespace}", "POD_NAME": "${pod.metadata.name}" } } }, "service": { "ports": { "tcp": { "container_port": 8080, "protocol": "TCP", "service_port": 8080 } } }, "terminationGracePeriodSeconds": 60 } } } } } ```