Skip to content

Commit

Permalink
Rename deploy variable
Browse files Browse the repository at this point in the history
  • Loading branch information
danischm committed Apr 20, 2024
1 parent 976ad23 commit 0ecc946
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ module "fmc" {

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_deploy_support"></a> [deploy\_support](#input\_deploy\_support) | Enables support for FTD deployments | `bool` | `true` | no |
| <a name="input_manage_deployment"></a> [deploy\_support](#input\_deploy\_support) | Enables support for FTD deployments | `bool` | `true` | no |
| <a name="input_model"></a> [model](#input\_model) | As an alternative to YAML files, a native Terraform data structure can be provided as well. | `map(any)` | `{}` | no |
| <a name="input_write_default_values_file"></a> [write\_default\_values\_file](#input\_write\_default\_values\_file) | Write all default values to a YAML file. Value is a path pointing to the file to be created. | `string` | `""` | no |
| <a name="input_yaml_directories"></a> [yaml\_directories](#input\_yaml\_directories) | List of paths to YAML directories. | `list(string)` | <pre>[<br> "data"<br>]</pre> | no |
Expand Down
2 changes: 1 addition & 1 deletion fmc_deploy.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ locals {
device = object.name
deploy_ignore_warning = try(object.deploy_ignore_warning, local.defaults.fmc.domains.devices.deploy_ignore_warning, null)
deploy_force = try(object.deploy_force, local.defaults.fmc.domains.devices.deploy_force, null)
} if try(object.deploy, false) && var.deploy_support
} if try(object.deploy, false) && var.manage_deployment
]
])
}
Expand Down
2 changes: 1 addition & 1 deletion templates/fmc_tpl_deploy.tftpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ locals {
device = object.name
deploy_ignore_warning = try(object.deploy_ignore_warning, local.defaults.fmc.domains.devices.deploy_ignore_warning, null)
deploy_force = try(object.deploy_force, local.defaults.fmc.domains.devices.deploy_force, null)
} if try(object.deploy, false) && var.deploy_support
} if try(object.deploy, false) && var.manage_deployment
]
])

Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ variable "model" {
default = {}
}

variable "deploy_support" {
variable "manage_deployment" {
description = "Enables support for FTD deployments"
type = bool
default = true
Expand Down

0 comments on commit 0ecc946

Please sign in to comment.