From c93ac39447ba751be0a9817191f6636f10fbefc9 Mon Sep 17 00:00:00 2001 From: EnricoGuccii Date: Sun, 31 May 2026 01:43:26 +0200 Subject: terraform: added gitignore and basic file structure --- .gitignore | 44 ++++++++++++++++++++++++++++++++++++++++++++ terraform/main.tf | 0 terraform/outputs.tf | 0 terraform/variables.tf | 0 4 files changed, 44 insertions(+) create mode 100644 .gitignore create mode 100644 terraform/main.tf create mode 100644 terraform/outputs.tf create mode 100644 terraform/variables.tf diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7977d19 --- /dev/null +++ b/.gitignore @@ -0,0 +1,44 @@ +# Local .terraform directories +terraform/.terraform/ + +# .tfstate files +terraform/*.tfstate +terraform/*.tfstate.* + +# Crash log files +terraform/crash.log +terraform/crash.*.log + +# Exclude all .tfvars files, which are likely to contain sensitive data, such as +# password, private keys, and other secrets. These should not be part of version +# control as they are data points which are potentially sensitive and subject +# to change depending on the environment. +terraform/*.tfvars +terraform/*.tfvars.json + +# Ignore override files as they are usually used to override resources locally and so +# are not checked in +terraform/override.tf +terraform/override.tf.json +terraform/*_override.tf +terraform/*_override.tf.json + +# Ignore transient lock info files created by terraform apply +terraform/.terraform.tfstate.lock.info + +# Include override files you do wish to add to version control using negated pattern +# !example_override.tf + +# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan +# example: *tfplan* + +# Ignore CLI configuration files +terraform/.terraformrc +terraform/terraform.rc + +# Optional: ignore graph output files generated by `terraform graph` +# *.dot + +# Optional: ignore plan files saved before destroying Terraform configuration +# Uncomment the line below if you want to ignore planout files. +# planout diff --git a/terraform/main.tf b/terraform/main.tf new file mode 100644 index 0000000..e69de29 diff --git a/terraform/outputs.tf b/terraform/outputs.tf new file mode 100644 index 0000000..e69de29 diff --git a/terraform/variables.tf b/terraform/variables.tf new file mode 100644 index 0000000..e69de29 -- cgit v1.2.3