diff --git a/scripts/script_terraform_deploy.tm b/scripts/script_terraform_deploy.tm deleted file mode 100644 index 6c6a480..0000000 --- a/scripts/script_terraform_deploy.tm +++ /dev/null @@ -1,18 +0,0 @@ -script "terraform" "deploy" { - name = "Terraform Deployment" - description = "Run a full Terraform deployment cycle and synchronize the result to Terramate Cloud." - - job { - name = "Terraform Apply" - description = "Initialize, validate, plan, and apply Terraform changes." - commands = [ - ["terraform", "init", "-lock-timeout=5m"], - ["terraform", "validate"], - ["terraform", "plan", "-out", "plan.tfplan", "-lock=false"], - ["terraform", "apply", "-input=false", "-auto-approve", "-lock-timeout=5m", "plan.tfplan", { - sync_deployment = true - terraform_plan_file = "plan.tfplan" - }], - ] - } -} diff --git a/scripts/script_terraform_detect_drift.tm b/scripts/script_terraform_detect_drift.tm deleted file mode 100644 index 5c71709..0000000 --- a/scripts/script_terraform_detect_drift.tm +++ /dev/null @@ -1,16 +0,0 @@ -script "terraform" "detect-drift" { - name = "Terraform Drift Check" - description = "Detect drifts in Terraform configuration and synchronize it to Terramate Cloud." - - job { - name = "Terraform Plan" - description = "Initialize, validate, and plan Terraform changes." - commands = [ - ["terraform", "init", "-lock-timeout=5m"], - ["terraform", "plan", "-out", "drift.tfplan", "-detailed-exitcode", "-lock=false", { - sync_drift_status = true - terraform_plan_file = "drift.tfplan" - }], - ] - } -} diff --git a/scripts/script_terraform_preview.tm b/scripts/script_terraform_preview.tm deleted file mode 100644 index 6516556..0000000 --- a/scripts/script_terraform_preview.tm +++ /dev/null @@ -1,17 +0,0 @@ -script "terraform" "preview" { - name = "Terraform Deployment Preview" - description = "Create a preview of Terraform Changes and synchronize it to Terramate Cloud." - - job { - name = "Terraform Plan" - description = "Initialize, validate, and plan Terraform changes." - commands = [ - ["terraform", "init", "-lock-timeout=5m"], - ["terraform", "validate"], - ["terraform", "plan", "-out", "preview.tfplan", "-detailed-exitcode", "-lock=false", { - sync_preview = true - terraform_plan_file = "preview.tfplan" - }], - ] - } -} diff --git a/scripts/script_tofu_deploy.tm b/scripts/script_tofu_deploy.tm deleted file mode 100644 index c953ca4..0000000 --- a/scripts/script_tofu_deploy.tm +++ /dev/null @@ -1,18 +0,0 @@ -script "tofu" "deploy" { - name = "OpenTofu Deployment" - description = "Run a full OpenTofu deployment cycle and synchronize the result to Terramate Cloud." - - job { - name = "OpenTofu Apply" - description = "Initialize, validate, plan, and apply OpenTofu changes." - commands = [ - ["tofu", "init", "-lock-timeout=5m"], - ["tofu", "validate"], - ["tofu", "plan", "-out", "plan.tfplan", "-lock=false"], - ["tofu", "apply", "-input=false", "-auto-approve", "-lock-timeout=5m", "plan.tfplan", { - sync_deployment = true - tofu_plan_file = "plan.tfplan" - }], - ] - } -} diff --git a/scripts/script_tofu_detect_drift.tm b/scripts/script_tofu_detect_drift.tm deleted file mode 100644 index ab15150..0000000 --- a/scripts/script_tofu_detect_drift.tm +++ /dev/null @@ -1,16 +0,0 @@ -script "tofu" "detect-drift" { - name = "OpenTofu Drift Check" - description = "Detect drifts in OpenTofu configuration and synchronize it to Terramate Cloud." - - job { - name = "OpenTofu Plan" - description = "Initialize, validate, and plan OpenTofu changes." - commands = [ - ["tofu", "init", "-lock-timeout=5m"], - ["tofu", "plan", "-out", "drift.tfplan", "-detailed-exitcode", "-lock=false", { - sync_drift_status = true - tofu_plan_file = "drift.tfplan" - }], - ] - } -} diff --git a/scripts/script_tofu_preview.tm b/scripts/script_tofu_preview.tm deleted file mode 100644 index c65abc7..0000000 --- a/scripts/script_tofu_preview.tm +++ /dev/null @@ -1,17 +0,0 @@ -script "tofu" "preview" { - name = "OpenTofu Deployment Preview" - description = "Create a preview of OpenTofu Changes and synchronize it to Terramate Cloud." - - job { - name = "OpenTofu Plan" - description = "Initialize, validate, and plan OpenTofu changes." - commands = [ - ["tofu", "init", "-lock-timeout=5m"], - ["tofu", "validate"], - ["tofu", "plan", "-out", "preview.tfplan", "-detailed-exitcode", "-lock=false", { - sync_preview = true - tofu_plan_file = "preview.tfplan" - }], - ] - } -}