skip to Main Content

Terraform Output via Jenkins

I'm unable to find vpc_id and public_subnet.0 in a terraform my-vpc output. Every single time when I put below command: ansible-playbook playbook1.yml -e "vpc_id=$(terraform output my-vpc.vpc_id) vpc_subnet_id=$(terraform output my-vpc.public_subnets.0)" -vvv But it prints terraform output my-vpc -bash-4.2$ terraform output my-vpc…

VIEW QUESTION
Back To Top
Search