modern-monkey-83417
09/08/2024, 5:14 PMname: infra
runtime:
name: nodejs
options:
packagemanager: pnpm
description: kubernetes cluster setup hosted on Hetzner with Cloudflare as DNS manager
config:
pulumi:tags:
value:
pulumi:template: typescript
cloudflare.zoneId:
type: string
description: Cloudflare zone id for the main domain of your k8s cluster. to get it open the dashboard -> click on your website -> scroll down -> look for API and Zone ID on the right
default: zone id
but if I try to run pulumi up after creating a stack called main
it says
Missing required configuration variable 'infra:cloudflare.zoneId'
please set a value using the command `pulumi config set infra:cloudflare.zoneId <value>`
why is it not picking up the default value for that config since it should be project wide available?magnificent-soccer-44287
09/08/2024, 7:34 PMmagnificent-soccer-44287
09/08/2024, 7:35 PMconfig:
aws:region: us-east-1
now... when we do something like this:
environment:
- shared-tools-base
that ESC env needs to look like this:
values:
pulumiConfig:
shared-tools: inherited
for us to use getConfig.sharedToolsmagnificent-soccer-44287
09/08/2024, 7:38 PMdescription: Cloudflare zone id for the main domain of your k8s cluster. to get it open the dashboard -> click on your website -> scroll down -> look for API and Zone ID on the right
default: [REDACTED]