Skip to content

Commit

Permalink
Merge pull request #16 from dasmeta/DMVP-0000-add-variable-set-reader
Browse files Browse the repository at this point in the history
DMVP-0000: add variable set reader
  • Loading branch information
aramkarapetian authored Sep 20, 2023
2 parents 449251f + 559c66f commit 6dc124a
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 16 deletions.
1 change: 0 additions & 1 deletion modules/variable-set-reader/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ No modules.
|------|-------------|------|---------|:--------:|
| <a name="input_name"></a> [name](#input\_name) | Terraform cloud variable set name | `string` | n/a | yes |
| <a name="input_org"></a> [org](#input\_org) | The terraform cloud organization name where variable set and variables will be created | `string` | n/a | yes |
| <a name="input_tfc_token"></a> [tfc\_token](#input\_tfc\_token) | Terraform Cloud token so that workspace can load variable set values. | `string` | n/a | yes |

## Outputs

Expand Down
3 changes: 0 additions & 3 deletions modules/variable-set-reader/providers.tf
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
provider "tfe" {
token = var.tfc_token
}
3 changes: 0 additions & 3 deletions modules/variable-set-reader/tests/basic/1-example.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
variable "tfc_token" {}
module "basic" {
source = "../.."
name = "aws_credentials"
org = "dasmeta"

tfc_token = var.tfc_token
}
4 changes: 1 addition & 3 deletions modules/variable-set-reader/tests/basic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ No resources.

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_tfc_token"></a> [tfc\_token](#input\_tfc\_token) | n/a | `any` | n/a | yes |
No inputs.

## Outputs

Expand Down
6 changes: 0 additions & 6 deletions modules/variable-set-reader/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,3 @@ variable "org" {
type = string
description = "The terraform cloud organization name where variable set and variables will be created"
}

variable "tfc_token" {
type = string
description = "Terraform Cloud token so that workspace can load variable set values."
sensitive = true
}

0 comments on commit 6dc124a

Please sign in to comment.