diff --git a/modules/workspace/variables.tf b/modules/workspace/variables.tf index 1105cc2..164cda8 100644 --- a/modules/workspace/variables.tf +++ b/modules/workspace/variables.tf @@ -95,12 +95,3 @@ variable "output" { default = [] description = "The module output" } - -variable "terraform_backend" { - type = object({ - name = string - configs = optional(any, {}) - }) - default = { name = null, configs = null } - description = "Allows to set terraform backend configurations" -} diff --git a/variable-sets.tf b/variable-sets.tf index 6206ced..15391e8 100644 --- a/variable-sets.tf +++ b/variable-sets.tf @@ -1,7 +1,6 @@ # create variable set module "aws_credentials_variable_set" { - source = "dasmeta/cloud/tfe//modules/variable-set" - version = "1.0.2" + source = "./modules/variable-set" name = "aws_credentials" org = var.org diff --git a/workspaces.tf b/workspaces.tf index e6bf63a..e1dc242 100644 --- a/workspaces.tf +++ b/workspaces.tf @@ -12,10 +12,7 @@ locals { } module "workspaces" { - # source = "dasmeta/cloud/tfe" - # version = "1.0.4" - # source = "/Users/juliaaghamyan/Desktop/dasmeta/terraform-tfe-cloud/" - source = "git::https://github.com/dasmeta/terraform-tfe-cloud.git?ref=DMVP-fix-var" + source = "./modules/workspace" # for_each = { for key, item in yamldecode(file("./infra.yaml")) : key => item } # single file mode for_each = local.yaml_files # folder with files mode