#!/usr/bin/env bash
set -euo pipefail
# Run inside your configured Entergenie Terraform project.
# Authenticate the provider using your organization's approved process.
# Keep provider credentials outside .tf files and version control.
terraform fmt -check -recursive
terraform init -input=false
terraform validate
terraform plan -input=false -out=entergenie.tfplan
terraform show -no-color entergenie.tfplan
# After reviewing the exact saved plan, apply it explicitly:
# terraform apply entergenie.tfplan
