We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b55f71 commit 928bc5aCopy full SHA for 928bc5a
tests/tekton-resources/tasks/setup/eks/awscli-vpc.yaml
@@ -22,10 +22,9 @@ spec:
22
curl -s $(params.vpc-cfn-url) -o ./amazon-vpc-eks
23
aws cloudformation --region $(params.region) deploy --stack-name $(params.stack-name) --template-file ./amazon-vpc-eks
24
25
- VPC_ID=$(aws ec2 describe-vpcs \
26
- --filters "Name=tag:Name,Values=$(params.stack-name)-VPC" \
27
- --query 'Vpcs[0].VpcId' \
28
- --output text)
+ VPC_ID=$(aws cloudformation describe-stacks --stack-name $(params.stack-name) --query "Stacks[0].Outputs[?OutputKey=='VpcId'].OutputValue" --output text)
+
+ echo "VPC_ID: $(VPC_ID)"
29
30
# Get all subnets with /12 CIDR blocks from the VPC
31
SUBNETS=$(aws ec2 describe-subnets \
0 commit comments