kestra-io / terraform-deployments

Deploy Kestra on AWS EC2, with RDS Postgres & S3
7 stars 2 forks source link

`aws-batch` No outputs found #2

Closed wrussell1999 closed 2 months ago

wrussell1999 commented 2 months ago

Despite having outputs.tf, running the command terraform output provides the following error.

Warning: No outputs found

The state file either has no outputs defined, or all the defined outputs are empty. Please define an output in your configuration with the output keyword and run terraform refresh for it to become available. If you are using interpolation, please verify the interpolated value is not empty. You can use the terraform console command to assist.

Commands run were from this blueprint: https://kestra.io/blueprints/225-run-multiple-python-scripts-in-parallel-on-aws-ecs-fargate-with-aws-batch

terraform init
terraform apply -auto-approve
terraform output > output.txt
wrussell1999 commented 2 months ago

Closing as this works on a new AWS instance. Errors because of duplicate names which causes no outputs.