Skip to content

Commit

Permalink
Merge pull request #5 from dasmeta/DMVP-fix-var
Browse files Browse the repository at this point in the history
fix(DMVP): Change variable type
  • Loading branch information
aghamyan44 authored Jul 25, 2023
2 parents ffe2f22 + b09758e commit 9c69cd7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ git config core.hooksPath githooks
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_linked_workspaces"></a> [linked\_workspaces](#input\_linked\_workspaces) | The list of workspaces from where we can pull outputs and use in our module variables | `list(string)` | `null` | no |
| <a name="input_module_providers"></a> [module\_providers](#input\_module\_providers) | The list of providers to add in providers.tf | <pre>list(object({<br> name = string<br> version = string<br> source = optional(string)<br> alias = optional(string)<br> custom_vars = optional(any, {})<br> }))</pre> | `[]` | no |
| <a name="input_module_providers"></a> [module\_providers](#input\_module\_providers) | The list of providers to add in providers.tf | `any` | `[]` | no |
| <a name="input_module_source"></a> [module\_source](#input\_module\_source) | The module source | `string` | n/a | yes |
| <a name="input_module_vars"></a> [module\_vars](#input\_module\_vars) | The module variables | `any` | `{}` | no |
| <a name="input_module_version"></a> [module\_version](#input\_module\_version) | The module version | `string` | n/a | yes |
Expand Down
15 changes: 8 additions & 7 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,14 @@ variable "terraform_version" {
}

variable "module_providers" {
type = list(object({
name = string
version = string
source = optional(string)
alias = optional(string)
custom_vars = optional(any, {})
}))
type = any
# object({
# name = string
# version = string
# source = optional(string)
# alias = optional(string)
# custom_vars = optional(any, {})
# }))
default = []
description = "The list of providers to add in providers.tf"
}
Expand Down

0 comments on commit 9c69cd7

Please sign in to comment.