Skip to content

nephosolutions/terraform-tfe-variable-set

Repository files navigation

Terraform Cloud Variable-Set

This module provisions a Terraform Cloud variable set.

Copyright 2019-2024 NephoSolutions srl, Sebastian Trebitz

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Requirements

Name Version
terraform >= 1.1.0
tfe >= 0.51

Providers

Name Version
tfe 0.58.1

Modules

Name Source Version
variable_set_variable ./modules/variable n/a

Resources

Name Type
tfe_project_variable_set.project resource
tfe_variable_set.variable_set resource
tfe_workspace_variable_set.workspace resource
tfe_project.project data source
tfe_workspace_ids.variable_set data source

Inputs

Name Description Type Default Required
description Description of the variable set. string null no
global Whether the variable set applies to all workspaces in the organization. bool false no
name Name of the variable set. string n/a yes
organization Name of the Terraform Cloud organization. string null no
priority Whether the variables in this set can be over-written by more specific scopes including values set on the command line. bool false no
projects Set of project names where the variable set should be attached to. set(string) [] no
variables Set of variables to configure.
set(object({
category = string
description = optional(string)
hcl = optional(bool)
key = string
sensitive = optional(bool)
value = string
workspace = string
}))
[] no
workspaces Set od workspace names where the variable set should be attached to. set(string) [] no

Outputs

Name Description
id The variable set identifier.
name The variable set name.

About

Provisions a Terraform Cloud variable set

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages