enough-animal-75031
03/03/2022, 4:50 AMpulumi up
into different environments, so for example:
• Merge commit into dev
, it does a pulumi up
with the dev
stack
• Changes are working, press a button to use same changes in uat
enough-animal-75031
03/03/2022, 4:50 AMbetter-forest-70644
03/03/2022, 8:43 AMfamous-art-56985
03/03/2022, 12:47 PMconfig.get('gcp:project')
famous-art-56985
03/03/2022, 12:48 PMmy-project:gcp:project
famous-art-56985
03/03/2022, 12:48 PMfamous-art-56985
03/03/2022, 12:49 PMnew gcp.Provider().name
but that has type Output<string | undefined>
I suppose I can call .get()
and freak out if undefined but seems like a real dance to get a config value that is in the yaml fileprehistoric-activity-61023
03/03/2022, 12:52 PMhelpful-account-44059
03/03/2022, 3:31 PMbillowy-army-68599
03/03/2022, 3:51 PMmammoth-art-6111
03/03/2022, 4:27 PMnot-yet-in-pulumi-but-in-code-resource
stocky-wire-60053
03/03/2022, 5:07 PMquick-airport-30353
03/03/2022, 5:11 PMfamous-art-56985
03/03/2022, 5:16 PMconfig.requireSecret('my-secret')
would create a non-existing secret automatically in the stack config, however if I do this I get a error that the configuration value is missing. Do I need to manually add a secret before using or is there a way to have them generated programattically when missing?mysterious-city-83058
03/03/2022, 5:35 PMmillions-furniture-75402
03/03/2022, 6:19 PMfuture-window-78560
03/03/2022, 7:12 PMnutritious-battery-42762
03/03/2022, 10:27 PMpulumi config set --secret
doesn't work with itwhite-airport-78661
03/04/2022, 3:47 AMvictorious-wall-1075
03/04/2022, 6:08 AM# Deploy the bitnami/wordpress chart.
edgeChart = Release(
"lilac-edge",
ReleaseArgs(
chart="./lilac-edge",
version="0.1.0",
namespace="lilac-edge",
values=values,
timeout=600
),
)
This works as long as ~/.kube/cofig is setup OR set the KUBECONFIG env variable is set.
I will be unable to do either of the above as my code is running inside flask application (actually flask + celery) and the specific cluster is chose based on the input received.
Is there a way to set the kube config location at the per pulumi stack level ?
can we setup ENV variables on a per stack basis?dry-answer-66872
03/04/2022, 6:47 AMrapid-ambulance-88914
03/04/2022, 7:20 AMfamous-art-56985
03/04/2022, 1:15 PMmagnificent-lifeguard-15082
03/04/2022, 5:41 PMmelodic-car-16900
03/04/2022, 8:19 PMpulumi up --cwd ./infrastructure/static-assets
...
./deploy-static-assets.sh
quick-airport-30353
03/04/2022, 9:17 PMaws.apigatewayv2
and followed the examples found on the Pulumi website. The Lambdas and API Gateway resources are provisioned along with the stage but the lambdas are not bound to the API Gateway resources I specified. Is there something I'm doing wrong?adorable-gpu-98268
03/05/2022, 11:56 AM@pulumi/docker
package can be used to build docker images and then push them to e.g. an ecr
registry or it could pull images from remote registry however I’m wondering: Can I also just push images that I have build locally outside of pulumi? How would I do that?
I’d like to have a build that looks like this:
- build my docker images using other tooling
- pulumi up
millions-journalist-34868
03/06/2022, 12:40 PMtall-glass-71035
03/07/2022, 9:14 AMcool-glass-63014
03/07/2022, 1:57 PMcool-glass-63014
03/07/2022, 1:57 PMgreat-queen-39697
03/07/2022, 11:08 PMcool-glass-63014
03/08/2022, 1:51 PMgreat-queen-39697
03/08/2022, 10:34 PM