Skip to content

Commit

Permalink
fix(DMVP-2598): fix dependencies and remove duplicate variable introd…
Browse files Browse the repository at this point in the history
…uced by merge
  • Loading branch information
aramkarapetian committed Sep 3, 2023
1 parent 3fa779b commit 127be8c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
9 changes: 0 additions & 9 deletions modules/workspace/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
3 changes: 1 addition & 2 deletions variable-sets.tf
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 1 addition & 4 deletions workspaces.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 127be8c

Please sign in to comment.