diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..30f5923 --- /dev/null +++ b/.gitignore @@ -0,0 +1,29 @@ +### Terraform ### +# Local .terraform directories +**/.terraform/* + +# .tfstate files +*.tfstate +*.tfstate.* + +# Crash log files +crash.log + +# Ignore any .tfvars files that are generated automatically for each Terraform run. Most +# .tfvars files are managed as part of configuration and so should be included in +# version control. +# +# example.tfvars + +# Ignore override files as they are usually used to override resources locally and so +# are not checked in +override.tf +override.tf.json +*_override.tf +*_override.tf.json + +# 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* diff --git a/backend.tf b/backend.tf new file mode 100644 index 0000000..0887bb2 --- /dev/null +++ b/backend.tf @@ -0,0 +1,9 @@ +terraform { + backend "remote" { + organization = "webuildyourcloud" + + workspaces { + name = "wbyc-master" + } + } +} diff --git a/data.tf b/data.tf new file mode 100644 index 0000000..e69de29 diff --git a/main.tf b/main.tf new file mode 100644 index 0000000..e69de29 diff --git a/outputs.tf b/outputs.tf new file mode 100644 index 0000000..e69de29 diff --git a/terraform.tfvars b/terraform.tfvars new file mode 100644 index 0000000..e69de29 diff --git a/variables.tf b/variables.tf new file mode 100644 index 0000000..29a03f1 --- /dev/null +++ b/variables.tf @@ -0,0 +1,22 @@ +variable "organization" { + description = "Organization Name" + type = string + default = "wbyc" +} +variable "environment" { + description = "Environment Name" + type = string + default = "prod" +} + +variable "region" { + description = "Default Region to set" + type = string + default = "eu-west-1" +} + +variable "availability-zone-names" { + description = "List of Availability zone names" + type = list(string) + default = [ "eu-west-1a" ] +}