diff --git a/terraform/env/dev.tfvars b/terraform/env/dev.tfvars new file mode 100644 index 0000000..f2b9b4d --- /dev/null +++ b/terraform/env/dev.tfvars @@ -0,0 +1 @@ +ENV = "dev" \ No newline at end of file diff --git a/terraform/env/hml.tfvars b/terraform/env/hml.tfvars new file mode 100644 index 0000000..59582ad --- /dev/null +++ b/terraform/env/hml.tfvars @@ -0,0 +1 @@ +ENV = "hml" \ No newline at end of file diff --git a/terraform/env/prd.tfvars b/terraform/env/prd.tfvars new file mode 100644 index 0000000..1aa8ce0 --- /dev/null +++ b/terraform/env/prd.tfvars @@ -0,0 +1 @@ +ENV = "prd" \ No newline at end of file diff --git a/terraform/main.tf b/terraform/main.tf new file mode 100644 index 0000000..12f0d86 --- /dev/null +++ b/terraform/main.tf @@ -0,0 +1,13 @@ +terraform { + required_version = ">= 0.13" + + backend "remote" { + organization = "Eugeniosales" + + region = "us-east-1" + + workspaces { + name = "gh-actions-demo" + } + } +} diff --git a/terraform/ssm.tf b/terraform/ssm.tf new file mode 100644 index 0000000..c52785e --- /dev/null +++ b/terraform/ssm.tf @@ -0,0 +1,5 @@ +resource "aws_ssm_parameter" "ssm-exchange-rate-token" { + name = "/sbf/external/api/exchangerate/token" + type = "String" + value = "custom.token" +} diff --git a/terraform/variables.tf b/terraform/variables.tf new file mode 100644 index 0000000..17c6de0 --- /dev/null +++ b/terraform/variables.tf @@ -0,0 +1,5 @@ +variable "ENV" { + type = string + description = "Environment" + default = null +}