Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tleed5 committed Jan 9, 2024
1 parent 0a6e768 commit e471879
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions octopusdeploy/schema_variable_scope.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ func expandVariableScope(flattenedVariableScope interface{}) variables.VariableS

if flattenedMap, ok := list[0].(map[string]interface{}); ok {
return variables.VariableScope{
Actions: getSliceFromTerraformTypeList(flattenedMap["actions"]),
Channels: getSliceFromTerraformTypeList(flattenedMap["channels"]),
Environments: getSliceFromTerraformTypeList(flattenedMap["environments"]),
Machines: getSliceFromTerraformTypeList(flattenedMap["machines"]),
Actions: getSliceFromTerraformTypeList(flattenedMap["actions"]),
Channels: getSliceFromTerraformTypeList(flattenedMap["channels"]),
Environments: getSliceFromTerraformTypeList(flattenedMap["environments"]),
Machines: getSliceFromTerraformTypeList(flattenedMap["machines"]),
ProcessOwners: getSliceFromTerraformTypeList(flattenedMap["processes"]),
Roles: getSliceFromTerraformTypeList(flattenedMap["roles"]),
TenantTags: getSliceFromTerraformTypeList(flattenedMap["tenant_tags"]),
Roles: getSliceFromTerraformTypeList(flattenedMap["roles"]),
TenantTags: getSliceFromTerraformTypeList(flattenedMap["tenant_tags"]),
}
}

Expand Down Expand Up @@ -94,7 +94,7 @@ func getVariableScopeSchema() map[string]*schema.Schema {
Optional: true,
Type: schema.TypeList,
},
"processes": {
"processes": {
Description: "A list of processes that are scoped to this variable value.",
Elem: &schema.Schema{Type: schema.TypeString},
Optional: true,
Expand Down

0 comments on commit e471879

Please sign in to comment.