Output значения terraform
Вывести все output значения в JSON; удобно в пайплайнах
terraform output -json
more terraform
all 43 commands →
Уничтожить конкретный ресурс
terraform destroy -target=module.vpc.aws_vpc.main
Taint ресурса (принудительная замена)
terraform taint module.eks.aws_instance.node
Убрать ресурс из state
terraform state rm module.path.resource_type.name
Обновить state
terraform refresh -var-file=prod.tfvars
Граф зависимостей
terraform graph | dot -Tsvg > graph.svg