sparse-intern-71089
05/25/2023, 11:22 AMbillowy-army-68599
enough-mechanic-81927
05/25/2023, 12:24 PMbillowy-army-68599
handsome-article-22867
05/25/2023, 12:39 PMenough-mechanic-81927
05/25/2023, 12:51 PMenough-mechanic-81927
05/25/2023, 12:53 PMbillowy-army-68599
billowy-army-68599
billowy-army-68599
handsome-article-22867
05/25/2023, 12:59 PMbillowy-army-68599
handsome-article-22867
05/25/2023, 1:00 PMbillowy-army-68599
enough-mechanic-81927
05/25/2023, 1:00 PMenough-mechanic-81927
05/25/2023, 1:02 PMbillowy-army-68599
export AWS_PROFILE=<profile in your `Pulumi.ecs-cluster.yaml`
export AWS_REGION=<region in your yaml file>
aws ec2 describe-vpcs --vpc-id=<vpc-id-in-your-code
billowy-army-68599
handsome-article-22867
05/25/2023, 1:07 PMhandsome-article-22867
05/25/2023, 1:07 PMbillowy-army-68599
handsome-article-22867
05/25/2023, 1:10 PMhandsome-article-22867
05/25/2023, 1:10 PMhandsome-article-22867
05/25/2023, 1:11 PMbillowy-army-68599
handsome-article-22867
05/25/2023, 1:12 PMbillowy-army-68599
limited-rainbow-51650
05/25/2023, 2:58 PMPulumi.dev.yaml
looks like:
name: ecs
runtime: nodejs
description: ecs cluster and ecr repos
config:
aws:profile: <Profile>
aws:region: <Region>
A stack config file usually only has a config:
section with the keys underneath. No name
, runtime
or description
property. That is in the Pulumi project file (Pulumi.yaml
). Did you manually copy Pulumi.yaml
to Pulumi.dev.yaml
?handsome-article-22867
05/25/2023, 3:21 PMhandsome-article-22867
05/25/2023, 3:22 PMenough-mechanic-81927
05/25/2023, 3:45 PMpulumi stack init stack-name
and it has region and profile only under config as you showed up in the code
config:
aws:profile: <Profile>
aws:region: <Region>
This looks like this in our stack.yaml fileenough-mechanic-81927
05/25/2023, 3:50 PMexport AWS_PROFILE=<profile in your `Pulumi.ecs-cluster.yaml`
export AWS_REGION=<region in your yaml file>
aws ec2 describe-vpcs --vpc-id=<vpc-id-in-your-code
enough-mechanic-81927
05/25/2023, 3:51 PMenough-mechanic-81927
05/25/2023, 3:53 PMenough-mechanic-81927
05/25/2023, 3:54 PM