FROM hashicorp/terraform:latest COPY user_data user_data COPY main.tf main.tf ENTRYPOINT terraform init && terraform apply -var="token=${token}" -auto-approve && sleep 300 && terraform destroy -var="token=${token}" -auto-approve