Closed mathieu-benoit closed 10 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: dfde58b646f13bb46cb979bb79b08a22f16913e8
Deployment failed for PR-92! :x:
Errors:
Errors details
### Errors details: ```json [ { "apiVersion": "entity.humanitec.io/v1b1", "entity": {}, "kind": "DeploymentError", "metadata": { "app_id": "my-sample-app", "deploy_id": "17a11d8638c293cb", "env_id": "pr-92", "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: dfde58b646f13bb46cb979bb79b08a22f16913e8
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:5cedc9b5b43667335ef60db164b07c2de25816f848e9f7d9d5e5c242b7bd42d3" } ] } }, "shared": null } ```Score Output
### Score Output: ```json { "id": "dfde58b646f13bb46cb979bb79b08a22f16913e8", "metadata": { "env_id": "pr-92", "name": "version: ${{ env.HUMCTL_VERSION }}", "url": "https://app.humanitec.io/orgs/my-trial/apps/my-sample-app/envs/pr-92/draft/dfde58b646f13bb46cb979bb79b08a22f16913e8", "created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8", "created_at": "2023-12-15T21:09:56.037167209Z", "last_modified_at": "2023-12-15T21:09:56.037167209Z" }, "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:5cedc9b5b43667335ef60db164b07c2de25816f848e9f7d9d5e5c242b7bd42d3", "variables": { "MESSAGE": "Hello, World!", "NAMESPACE_NAME": "${pod.metadata.namespace}", "POD_NAME": "${pod.metadata.name}" } } }, "service": { "ports": { "tcp": { "container_port": 8080, "protocol": "TCP", "service_port": 8080 } } }, "terminationGracePeriodSeconds": 60 } } } } } ```