From da52f79b9bf938aba735f7d4eb4e1df05187c803 Mon Sep 17 00:00:00 2001 From: Jener Rasmussen Date: Mon, 23 Oct 2023 08:48:40 +0200 Subject: [PATCH 01/16] Add 'procceses' to variable scoping --- docs/data-sources/variables.md | 1 + docs/resources/variable.md | 1 + octopusdeploy/schema_variable_scope.go | 11 +++++++++++ 3 files changed, 13 insertions(+) diff --git a/docs/data-sources/variables.md b/docs/data-sources/variables.md index d7c2729f7..d110160df 100644 --- a/docs/data-sources/variables.md +++ b/docs/data-sources/variables.md @@ -87,6 +87,7 @@ Read-Only: - `channels` (List of String) - `environments` (List of String) - `machines` (List of String) +- `processes` (List of String) - `roles` (List of String) - `tenant_tags` (List of String) diff --git a/docs/resources/variable.md b/docs/resources/variable.md index 16b6229df..05e0693ba 100644 --- a/docs/resources/variable.md +++ b/docs/resources/variable.md @@ -150,6 +150,7 @@ Optional: - `channels` (List of String) A list of channels that are scoped to this variable value. - `environments` (List of String) A list of environments that are scoped to this variable value. - `machines` (List of String) A list of machines that are scoped to this variable value. +- `processes` (List of String) A list of processes that are scoped to this variable value. - `roles` (List of String) A list of roles that are scoped to this variable value. - `tenant_tags` (List of String) A list of tenant tags that are scoped to this variable value. diff --git a/octopusdeploy/schema_variable_scope.go b/octopusdeploy/schema_variable_scope.go index 65c04f874..e531cfd14 100644 --- a/octopusdeploy/schema_variable_scope.go +++ b/octopusdeploy/schema_variable_scope.go @@ -21,6 +21,7 @@ func expandVariableScope(flattenedVariableScope interface{}) variables.VariableS 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"]), } @@ -52,6 +53,10 @@ func flattenVariableScope(scope variables.VariableScope) []interface{} { flattenedScope["machines"] = scope.Machines } + if len(scope.ProcessOwners) > 0 { + flattenedScope["processes"] = scope.ProcessOwners + } + if len(scope.Roles) > 0 { flattenedScope["roles"] = scope.Roles } @@ -89,6 +94,12 @@ func getVariableScopeSchema() map[string]*schema.Schema { Optional: true, Type: schema.TypeList, }, + "processes": { + Description: "A list of processes that are scoped to this variable value.", + Elem: &schema.Schema{Type: schema.TypeString}, + Optional: true, + Type: schema.TypeList, + }, "roles": { Description: "A list of roles that are scoped to this variable value.", Elem: &schema.Schema{Type: schema.TypeString}, From 3dc7465324a7d51cadc4b79182f9d50c5fad16ee Mon Sep 17 00:00:00 2001 From: Jener Rasmussen Date: Mon, 23 Oct 2023 13:23:39 +0200 Subject: [PATCH 02/16] Extract and expand variable scope matcher --- octopusdeploy/resource_variable.go | 74 +++++++++++++++++++++++++++++- 1 file changed, 72 insertions(+), 2 deletions(-) diff --git a/octopusdeploy/resource_variable.go b/octopusdeploy/resource_variable.go index 60b2823e3..5c40c1d8e 100644 --- a/octopusdeploy/resource_variable.go +++ b/octopusdeploy/resource_variable.go @@ -8,6 +8,7 @@ import ( "sync" "github.com/OctopusDeploy/go-octopusdeploy/v2/pkg/client" + "github.com/OctopusDeploy/go-octopusdeploy/v2/pkg/variables" "github.com/OctopusDeploy/terraform-provider-octopusdeploy/internal/errors" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" @@ -76,7 +77,7 @@ func resourceVariableCreate(ctx context.Context, d *schema.ResourceData, m inter for _, v := range variableSet.Variables { if v.Name == variable.Name && v.Type == variable.Type && (v.IsSensitive || v.Value == variable.Value) && v.Description == variable.Description && v.IsSensitive == variable.IsSensitive { - scopeMatches, _, err := client.Variables.MatchesScope(v.Scope, &variable.Scope) + scopeMatches, _, err := matchesScope(v.Scope, &variable.Scope) if err != nil { return diag.FromErr(err) } @@ -161,7 +162,7 @@ func resourceVariableUpdate(ctx context.Context, d *schema.ResourceData, m inter for _, v := range variableSet.Variables { if v.Name == variable.Name && v.Type == variable.Type && (v.IsSensitive || v.Value == variable.Value) && v.Description == variable.Description && v.IsSensitive == variable.IsSensitive { - scopeMatches, _, _ := client.Variables.MatchesScope(v.Scope, &variable.Scope) + scopeMatches, _, _ := matchesScope(v.Scope, &variable.Scope) if scopeMatches { if err := setVariable(ctx, d, v); err != nil { return diag.FromErr(err) @@ -225,3 +226,72 @@ func validateVariable(d *schema.ResourceData) error { return nil } + +func matchesScope(variableScope variables.VariableScope, definedScope *variables.VariableScope) (bool, *variables.VariableScope, error) { + if definedScope == nil { + return true, &variables.VariableScope{}, nil + } + + if definedScope.IsEmpty() { + return true, &variables.VariableScope{}, nil + } + + var matchedScopes variables.VariableScope + var matched bool + + for _, e1 := range definedScope.Environments { + for _, e2 := range variableScope.Environments { + if e1 == e2 { + matched = true + matchedScopes.Environments = append(matchedScopes.Environments, e1) + } + } + } + + for _, r1 := range definedScope.Roles { + for _, r2 := range variableScope.Roles { + if r1 == r2 { + matched = true + matchedScopes.Roles = append(matchedScopes.Roles, r1) + } + } + } + + for _, m1 := range definedScope.Machines { + for _, m2 := range variableScope.Machines { + if m1 == m2 { + matched = true + matchedScopes.Machines = append(matchedScopes.Machines, m1) + } + } + } + + for _, a1 := range definedScope.Actions { + for _, a2 := range variableScope.Actions { + if a1 == a2 { + matched = true + matchedScopes.Actions = append(matchedScopes.Actions, a1) + } + } + } + + for _, c1 := range definedScope.Channels { + for _, c2 := range variableScope.Channels { + if c1 == c2 { + matched = true + matchedScopes.Channels = append(matchedScopes.Channels, c1) + } + } + } + + for _, p1 := range definedScope.ProcessOwners { + for _, p2 := range variableScope.ProcessOwners { + if p1 == p2 { + matched = true + matchedScopes.ProcessOwners = append(matchedScopes.ProcessOwners, p1) + } + } + } + + return matched, &matchedScopes, nil +} From 6d2eb097fd2e484576be516316260950af63cb71 Mon Sep 17 00:00:00 2001 From: Travis Leeden Date: Tue, 9 Jan 2024 12:30:23 +1000 Subject: [PATCH 03/16] Updated to use the scope matcher from the go api client and added more detail to documentation --- docs/data-sources/variables.md | 2 +- octopusdeploy/resource_variable.go | 73 +----------------------------- 2 files changed, 3 insertions(+), 72 deletions(-) diff --git a/docs/data-sources/variables.md b/docs/data-sources/variables.md index e0e29a004..1fd0a1563 100644 --- a/docs/data-sources/variables.md +++ b/docs/data-sources/variables.md @@ -50,7 +50,7 @@ Optional: - `channels` (List of String) A list of channels that are scoped to this variable value. - `environments` (List of String) A list of environments that are scoped to this variable value. - `machines` (List of String) A list of machines that are scoped to this variable value. -- `processes` (List of String) +- `processes` (List of String) A list of processes that are scoped to this variable value. - `roles` (List of String) A list of roles that are scoped to this variable value. - `tenant_tags` (List of String) A list of tenant tags that are scoped to this variable value. diff --git a/octopusdeploy/resource_variable.go b/octopusdeploy/resource_variable.go index e5ff35de7..dcb8db8c5 100644 --- a/octopusdeploy/resource_variable.go +++ b/octopusdeploy/resource_variable.go @@ -82,7 +82,7 @@ func resourceVariableCreate(ctx context.Context, d *schema.ResourceData, m inter for _, v := range variableSet.Variables { if v.Name == variable.Name && v.Type == variable.Type && (v.IsSensitive || v.Value == variable.Value) && v.Description == variable.Description && v.IsSensitive == variable.IsSensitive { - scopeMatches, _, err := matchesScope(v.Scope, &variable.Scope) + scopeMatches, _, err := variables.MatchesScope(v.Scope, &variable.Scope) if err != nil { return diag.FromErr(err) } @@ -177,7 +177,7 @@ func resourceVariableUpdate(ctx context.Context, d *schema.ResourceData, m inter for _, v := range variableSet.Variables { if v.Name == variable.Name && v.Type == variable.Type && (v.IsSensitive || v.Value == variable.Value) && v.Description == variable.Description && v.IsSensitive == variable.IsSensitive { - scopeMatches, _, _ := matchesScope(v.Scope, &variable.Scope) + scopeMatches, _, _ := variables.MatchesScope(v.Scope, &variable.Scope) if scopeMatches { if err := setVariable(ctx, d, v); err != nil { return diag.FromErr(err) @@ -246,72 +246,3 @@ func validateVariable(d *schema.ResourceData) error { return nil } - -func matchesScope(variableScope variables.VariableScope, definedScope *variables.VariableScope) (bool, *variables.VariableScope, error) { - if definedScope == nil { - return true, &variables.VariableScope{}, nil - } - - if definedScope.IsEmpty() { - return true, &variables.VariableScope{}, nil - } - - var matchedScopes variables.VariableScope - var matched bool - - for _, e1 := range definedScope.Environments { - for _, e2 := range variableScope.Environments { - if e1 == e2 { - matched = true - matchedScopes.Environments = append(matchedScopes.Environments, e1) - } - } - } - - for _, r1 := range definedScope.Roles { - for _, r2 := range variableScope.Roles { - if r1 == r2 { - matched = true - matchedScopes.Roles = append(matchedScopes.Roles, r1) - } - } - } - - for _, m1 := range definedScope.Machines { - for _, m2 := range variableScope.Machines { - if m1 == m2 { - matched = true - matchedScopes.Machines = append(matchedScopes.Machines, m1) - } - } - } - - for _, a1 := range definedScope.Actions { - for _, a2 := range variableScope.Actions { - if a1 == a2 { - matched = true - matchedScopes.Actions = append(matchedScopes.Actions, a1) - } - } - } - - for _, c1 := range definedScope.Channels { - for _, c2 := range variableScope.Channels { - if c1 == c2 { - matched = true - matchedScopes.Channels = append(matchedScopes.Channels, c1) - } - } - } - - for _, p1 := range definedScope.ProcessOwners { - for _, p2 := range variableScope.ProcessOwners { - if p1 == p2 { - matched = true - matchedScopes.ProcessOwners = append(matchedScopes.ProcessOwners, p1) - } - } - } - - return matched, &matchedScopes, nil -} From 0a6e7682aeeca84da5276a6fb10e58c268786a37 Mon Sep 17 00:00:00 2001 From: Travis Leeden Date: Tue, 9 Jan 2024 14:03:22 +1000 Subject: [PATCH 04/16] bump go-octopusdeploy version to support process scope variable matching --- go.mod | 2 +- go.sum | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index f88d20978..8ca188c51 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/OctopusDeploy/terraform-provider-octopusdeploy go 1.20 require ( - github.com/OctopusDeploy/go-octopusdeploy/v2 v2.36.1 + github.com/OctopusDeploy/go-octopusdeploy/v2 v2.36.2 github.com/OctopusSolutionsEngineering/OctopusTerraformTestFramework v0.0.0-20230705105638-f5ef7c07973b github.com/google/uuid v1.3.0 github.com/gruntwork-io/terratest v0.41.11 diff --git a/go.sum b/go.sum index 950e0d5f5..3e4093766 100644 --- a/go.sum +++ b/go.sum @@ -65,6 +65,7 @@ github.com/Microsoft/go-winio v0.6.0/go.mod h1:cTAf44im0RAYeL23bpB+fzCyDH2MJiz2B github.com/Microsoft/hcsshim v0.9.7 h1:mKNHW/Xvv1aFH87Jb6ERDzXTJTLPlmzfZ28VBFD/bfg= github.com/OctopusDeploy/go-octopusdeploy/v2 v2.36.1 h1:irRBBh+rSCMqR0YDaUdfBnpl9UAU7tI8zD0j8xt2C8U= github.com/OctopusDeploy/go-octopusdeploy/v2 v2.36.1/go.mod h1:GZmFu6LmN8Yg0tEoZx3ytk9FnaH+84cWm7u5TdWZC6E= +github.com/OctopusDeploy/go-octopusdeploy/v2 v2.36.2/go.mod h1:GZmFu6LmN8Yg0tEoZx3ytk9FnaH+84cWm7u5TdWZC6E= github.com/OctopusSolutionsEngineering/OctopusTerraformTestFramework v0.0.0-20230705105638-f5ef7c07973b h1:XOBPcVHeDUYIpcag0yI8IYKiBL+5LLL8suysvlavQwI= github.com/OctopusSolutionsEngineering/OctopusTerraformTestFramework v0.0.0-20230705105638-f5ef7c07973b/go.mod h1:E0hYVpZd61fXhzTozkxjiWEy+/yTRxAnr2SIE7k8ZSM= github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 h1:YoJbenK9C67SkzkDfmQuVln04ygHj3vjZfd9FL+GmQQ= From e471879283379780191fea1152d96628f85fcaa1 Mon Sep 17 00:00:00 2001 From: Travis Leeden Date: Tue, 9 Jan 2024 15:30:22 +1000 Subject: [PATCH 05/16] formatting --- octopusdeploy/schema_variable_scope.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/octopusdeploy/schema_variable_scope.go b/octopusdeploy/schema_variable_scope.go index e531cfd14..41c52ffff 100644 --- a/octopusdeploy/schema_variable_scope.go +++ b/octopusdeploy/schema_variable_scope.go @@ -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"]), } } @@ -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, From 78667cb4f64db097423099db87cad283eff8e7fc Mon Sep 17 00:00:00 2001 From: Travis Leeden Date: Tue, 9 Jan 2024 15:32:42 +1000 Subject: [PATCH 06/16] mod tidy --- go.sum | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/go.sum b/go.sum index 3e4093766..f3b743f00 100644 --- a/go.sum +++ b/go.sum @@ -63,8 +63,7 @@ github.com/Microsoft/go-winio v0.4.16/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugX github.com/Microsoft/go-winio v0.6.0 h1:slsWYD/zyx7lCXoZVlvQrj0hPTM1HI4+v1sIda2yDvg= github.com/Microsoft/go-winio v0.6.0/go.mod h1:cTAf44im0RAYeL23bpB+fzCyDH2MJiz2BO69KH/soAE= github.com/Microsoft/hcsshim v0.9.7 h1:mKNHW/Xvv1aFH87Jb6ERDzXTJTLPlmzfZ28VBFD/bfg= -github.com/OctopusDeploy/go-octopusdeploy/v2 v2.36.1 h1:irRBBh+rSCMqR0YDaUdfBnpl9UAU7tI8zD0j8xt2C8U= -github.com/OctopusDeploy/go-octopusdeploy/v2 v2.36.1/go.mod h1:GZmFu6LmN8Yg0tEoZx3ytk9FnaH+84cWm7u5TdWZC6E= +github.com/OctopusDeploy/go-octopusdeploy/v2 v2.36.2 h1:ovLCSy+I1mN0nynxNtOkrxUuf4DL2jZc79kkBH6698g= github.com/OctopusDeploy/go-octopusdeploy/v2 v2.36.2/go.mod h1:GZmFu6LmN8Yg0tEoZx3ytk9FnaH+84cWm7u5TdWZC6E= github.com/OctopusSolutionsEngineering/OctopusTerraformTestFramework v0.0.0-20230705105638-f5ef7c07973b h1:XOBPcVHeDUYIpcag0yI8IYKiBL+5LLL8suysvlavQwI= github.com/OctopusSolutionsEngineering/OctopusTerraformTestFramework v0.0.0-20230705105638-f5ef7c07973b/go.mod h1:E0hYVpZd61fXhzTozkxjiWEy+/yTRxAnr2SIE7k8ZSM= From ce8391234a94a5b12be77f58ed9e31634a3f5598 Mon Sep 17 00:00:00 2001 From: Travis Leeden Date: Wed, 10 Jan 2024 15:06:34 +1000 Subject: [PATCH 07/16] add test for variable scoping --- octopusdeploy/resource_variable_test.go | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/octopusdeploy/resource_variable_test.go b/octopusdeploy/resource_variable_test.go index c682253a0..15817baac 100644 --- a/octopusdeploy/resource_variable_test.go +++ b/octopusdeploy/resource_variable_test.go @@ -35,6 +35,8 @@ func TestAccOctopusDeployVariableBasic(t *testing.T) { projectGroupName := acctest.RandStringFromCharSet(20, acctest.CharSetAlpha) projectLocalName := acctest.RandStringFromCharSet(20, acctest.CharSetAlpha) projectName := acctest.RandStringFromCharSet(20, acctest.CharSetAlpha) + deploymentProcessLocalName := acctest.RandStringFromCharSet(20, acctest.CharSetAlpha) + deploymentProcessName := acctest.RandStringFromCharSet(20, acctest.CharSetAlpha) // TODO: replace with client reference spaceID := os.Getenv("OCTOPUS_SPACE") @@ -56,7 +58,7 @@ func TestAccOctopusDeployVariableBasic(t *testing.T) { resource.TestCheckResourceAttr(prefix, "scope.0.%", "6"), resource.TestCheckResourceAttr(prefix, "scope.0.environments.#", "1"), ), - Config: testVariableBasic(spaceID, environmentLocalName, environmentName, lifecycleLocalName, lifecycleName, projectGroupLocalName, projectGroupName, projectLocalName, projectName, channelLocalName, channelName, localName, name, description, isSensitive, value, variableType), + Config: testVariableBasic(spaceID, environmentLocalName, environmentName, lifecycleLocalName, lifecycleName, projectGroupLocalName, projectGroupName, projectLocalName, projectName, deploymentProcessLocalName, deploymentProcessName, channelLocalName, channelName, localName, name, description, isSensitive, value, variableType), }, { Check: resource.ComposeTestCheckFunc( @@ -70,7 +72,7 @@ func TestAccOctopusDeployVariableBasic(t *testing.T) { resource.TestCheckResourceAttr(prefix, "scope.0.%", "6"), resource.TestCheckResourceAttr(prefix, "scope.0.environments.#", "1"), ), - Config: testVariableBasic(spaceID, environmentLocalName, environmentName, lifecycleLocalName, lifecycleName, projectGroupLocalName, projectGroupName, projectLocalName, projectName, channelLocalName, channelName, localName, name, description, isSensitive, newValue, variableType), + Config: testVariableBasic(spaceID, environmentLocalName, environmentName, lifecycleLocalName, lifecycleName, projectGroupLocalName, projectGroupName, projectLocalName, projectName, deploymentProcessLocalName, deploymentProcessName, channelLocalName, channelName, localName, name, description, isSensitive, newValue, variableType), }, { Check: resource.ComposeTestCheckFunc( @@ -88,7 +90,7 @@ func TestAccOctopusDeployVariableBasic(t *testing.T) { %s`, testGcpAccount(localName, name, acctest.RandStringFromCharSet(20, acctest.CharSetAlpha)), - testVariableBasic(spaceID, environmentLocalName, environmentName, lifecycleLocalName, lifecycleName, projectGroupLocalName, projectGroupName, projectLocalName, projectName, channelLocalName, channelName, localName, name, description, isSensitive, accountValue, accountVariableType)), + testVariableBasic(spaceID, environmentLocalName, environmentName, lifecycleLocalName, lifecycleName, projectGroupLocalName, projectGroupName, projectLocalName, projectName, deploymentProcessLocalName, deploymentProcessName, channelLocalName, channelName, localName, name, description, isSensitive, accountValue, accountVariableType)), }, }, }) @@ -96,7 +98,7 @@ func TestAccOctopusDeployVariableBasic(t *testing.T) { func testVariableBasic(spaceID string, environmentLocalName string, environmentName string, - lifecycleLocalName string, lifecycleName string, projectGroupLocalName string, projectGroupName string, projectLocalName string, projectName string, channelLocalName string, channelName string, localName string, name string, description string, isSensitive bool, value string, variableType string) string { + lifecycleLocalName string, lifecycleName string, projectGroupLocalName string, projectGroupName string, projectLocalName string, projectName string, deploymentProcessLocalName string, deploymentProcessName string, channelLocalName string, channelName string, localName string, name string, description string, isSensitive bool, value string, variableType string) string { return fmt.Sprintf(`%s %s @@ -107,6 +109,8 @@ func testVariableBasic(spaceID string, environmentLocalName string, %s + %s + resource "octopusdeploy_variable" "%s" { description = "%s" is_sensitive = "%v" @@ -118,6 +122,7 @@ func testVariableBasic(spaceID string, environmentLocalName string, scope { channels = [octopusdeploy_channel.%s.id] environments = [octopusdeploy_environment.%s.id] + processes = [octopusdeploy_deployment_process.%s.id] tenant_tags = [] } }`, @@ -125,6 +130,7 @@ func testVariableBasic(spaceID string, environmentLocalName string, createLifecycle(lifecycleLocalName, lifecycleName), createProjectGroup(projectGroupLocalName, projectGroupName), createProject(spaceID, projectLocalName, projectName, lifecycleLocalName, projectGroupLocalName), + createDeploymentProcess(projectLocalName, spaceID, deploymentProcessLocalName, deploymentProcessName), createChannel(channelLocalName, channelName, projectLocalName), localName, description, @@ -135,6 +141,7 @@ func testVariableBasic(spaceID string, environmentLocalName string, value, channelLocalName, environmentLocalName, + deploymentProcessLocalName, ) } @@ -165,6 +172,14 @@ func createProject(spaceID string, localName, name, lifecycleLocal, projectGroup }`, localName, name, lifecycleLocal, projectGroupLocal, spaceID) } +func createDeploymentProcess(projectLocalName string, spaceId string, localName, name string) string { + return fmt.Sprintf(`resource "octopusdeploy_deployment_process" "%s" { + name = "%s" + project_id = octopusdeploy_project.%s.id + space_id = "%s" + }`, localName, name, projectLocalName, spaceId) +} + func createChannel(localName, name, projectLocal string) string { return fmt.Sprintf(`resource "octopusdeploy_channel" "%s" { name = "%s" From 9de544dba265d17d74596381e35628f8e1ad0821 Mon Sep 17 00:00:00 2001 From: Travis Leeden Date: Wed, 10 Jan 2024 15:29:37 +1000 Subject: [PATCH 08/16] Test if test config needed updated provider version --- terraform/1-singlespace/config.tf | 2 +- terraform/10-helmfeed/config.tf | 2 +- terraform/10a-helmfeedds/config.tf | 2 +- terraform/11-dockerfeed/config.tf | 2 +- terraform/11a-dockerfeedds/config.tf | 2 +- terraform/12-ecrfeed/config.tf | 2 +- terraform/12a-ecrfeedds/config.tf | 2 +- terraform/13-mavenfeed/config.tf | 2 +- terraform/13a-mavenfeedds/config.tf | 2 +- terraform/14-nugetfeed/config.tf | 2 +- terraform/14a-nugetfeedds/config.tf | 2 +- terraform/15-workerpool/config.tf | 2 +- terraform/15a-workerpoolds/config.tf | 2 +- terraform/16-environment/config.tf | 2 +- terraform/16a-environmentlookup/config.tf | 2 +- terraform/17-lifecycle/config.tf | 2 +- terraform/17a-lifecycleds/config.tf | 2 +- terraform/18-variableset/config.tf | 2 +- terraform/18a-variablesetds/config.tf | 2 +- terraform/19-project/config.tf | 2 +- terraform/19a-projectds/config.tf | 2 +- terraform/19b-projectspace/config.tf | 2 +- terraform/2-projectgroup/config.tf | 2 +- terraform/20-channel/config.tf | 2 +- terraform/20a-channelds/config.tf | 2 +- terraform/21-tagset/config.tf | 2 +- terraform/22-gitcredentialtest/config.tf | 2 +- terraform/22a-gitcredentialtestds/config.tf | 2 +- terraform/23-scriptmodule/config.tf | 2 +- terraform/23a-scriptmoduleds/config.tf | 2 +- terraform/24-tenants/config.tf | 2 +- terraform/24a-tenantsds/config.tf | 2 +- terraform/25-certificates/config.tf | 2 +- terraform/25a-certificatesds/config.tf | 2 +- terraform/26-tenant_variables/config.tf | 2 +- terraform/27-machinepolicy/config.tf | 2 +- terraform/28-projecttrigger/config.tf | 2 +- terraform/29-k8starget/config.tf | 2 +- terraform/29a-k8stargetds/config.tf | 2 +- terraform/2a-projectgroupds/config.tf | 2 +- terraform/3-awsaccount/config.tf | 2 +- terraform/30-sshtarget/config.tf | 2 +- terraform/30a-sshtargetds/config.tf | 2 +- terraform/31-listeningtarget/config.tf | 2 +- terraform/31a-listeningtargetds/config.tf | 2 +- terraform/32-pollingtarget/config.tf | 2 +- terraform/32a-pollingtargetds/config.tf | 2 +- terraform/33-cloudregiontarget/config.tf | 2 +- terraform/33a-cloudregiontargetds/config.tf | 2 +- terraform/34-offlinedroptarget/config.tf | 2 +- terraform/34a-offlinedroptargetds/config.tf | 2 +- terraform/35-azurecloudservicetarget/config.tf | 2 +- terraform/35a-azurecloudservicetargetds/config.tf | 2 +- terraform/36-servicefabrictarget/config.tf | 2 +- terraform/36a-servicefabrictargetds/config.tf | 2 +- terraform/37-webapptarget/config.tf | 2 +- terraform/37a-webapptarget/config.tf | 2 +- terraform/39-projectgitusername/config.tf | 2 +- terraform/3a-awsaccountds/config.tf | 2 +- terraform/4-azureaccount/config.tf | 2 +- terraform/40-escapedollar/config.tf | 2 +- terraform/41-terraforminlinescript/config.tf | 2 +- terraform/42-terraformpackagescript/config.tf | 2 +- terraform/43-users/config.tf | 2 +- terraform/43a-usersds/config.tf | 2 +- terraform/44-githubfeed/config.tf | 2 +- terraform/44a-githubfeedds/config.tf | 2 +- terraform/45-projectwithscriptactions/config.tf | 2 +- terraform/46-runbooks/config.tf | 2 +- terraform/5-userpassaccount/config.tf | 2 +- terraform/6-gcpaccount/config.tf | 2 +- terraform/7-sshaccount/config.tf | 2 +- terraform/8-azuresubscriptionaccount/config.tf | 2 +- terraform/9-tokenaccount/config.tf | 2 +- 74 files changed, 74 insertions(+), 74 deletions(-) diff --git a/terraform/1-singlespace/config.tf b/terraform/1-singlespace/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/1-singlespace/config.tf +++ b/terraform/1-singlespace/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/10-helmfeed/config.tf b/terraform/10-helmfeed/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/10-helmfeed/config.tf +++ b/terraform/10-helmfeed/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/10a-helmfeedds/config.tf b/terraform/10a-helmfeedds/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/10a-helmfeedds/config.tf +++ b/terraform/10a-helmfeedds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/11-dockerfeed/config.tf b/terraform/11-dockerfeed/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/11-dockerfeed/config.tf +++ b/terraform/11-dockerfeed/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/11a-dockerfeedds/config.tf b/terraform/11a-dockerfeedds/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/11a-dockerfeedds/config.tf +++ b/terraform/11a-dockerfeedds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/12-ecrfeed/config.tf b/terraform/12-ecrfeed/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/12-ecrfeed/config.tf +++ b/terraform/12-ecrfeed/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/12a-ecrfeedds/config.tf b/terraform/12a-ecrfeedds/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/12a-ecrfeedds/config.tf +++ b/terraform/12a-ecrfeedds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/13-mavenfeed/config.tf b/terraform/13-mavenfeed/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/13-mavenfeed/config.tf +++ b/terraform/13-mavenfeed/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/13a-mavenfeedds/config.tf b/terraform/13a-mavenfeedds/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/13a-mavenfeedds/config.tf +++ b/terraform/13a-mavenfeedds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/14-nugetfeed/config.tf b/terraform/14-nugetfeed/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/14-nugetfeed/config.tf +++ b/terraform/14-nugetfeed/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/14a-nugetfeedds/config.tf b/terraform/14a-nugetfeedds/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/14a-nugetfeedds/config.tf +++ b/terraform/14a-nugetfeedds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/15-workerpool/config.tf b/terraform/15-workerpool/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/15-workerpool/config.tf +++ b/terraform/15-workerpool/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/15a-workerpoolds/config.tf b/terraform/15a-workerpoolds/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/15a-workerpoolds/config.tf +++ b/terraform/15a-workerpoolds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/16-environment/config.tf b/terraform/16-environment/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/16-environment/config.tf +++ b/terraform/16-environment/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/16a-environmentlookup/config.tf b/terraform/16a-environmentlookup/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/16a-environmentlookup/config.tf +++ b/terraform/16a-environmentlookup/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/17-lifecycle/config.tf b/terraform/17-lifecycle/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/17-lifecycle/config.tf +++ b/terraform/17-lifecycle/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/17a-lifecycleds/config.tf b/terraform/17a-lifecycleds/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/17a-lifecycleds/config.tf +++ b/terraform/17a-lifecycleds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/18-variableset/config.tf b/terraform/18-variableset/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/18-variableset/config.tf +++ b/terraform/18-variableset/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/18a-variablesetds/config.tf b/terraform/18a-variablesetds/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/18a-variablesetds/config.tf +++ b/terraform/18a-variablesetds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/19-project/config.tf b/terraform/19-project/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/19-project/config.tf +++ b/terraform/19-project/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/19a-projectds/config.tf b/terraform/19a-projectds/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/19a-projectds/config.tf +++ b/terraform/19a-projectds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/19b-projectspace/config.tf b/terraform/19b-projectspace/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/19b-projectspace/config.tf +++ b/terraform/19b-projectspace/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/2-projectgroup/config.tf b/terraform/2-projectgroup/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/2-projectgroup/config.tf +++ b/terraform/2-projectgroup/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/20-channel/config.tf b/terraform/20-channel/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/20-channel/config.tf +++ b/terraform/20-channel/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/20a-channelds/config.tf b/terraform/20a-channelds/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/20a-channelds/config.tf +++ b/terraform/20a-channelds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/21-tagset/config.tf b/terraform/21-tagset/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/21-tagset/config.tf +++ b/terraform/21-tagset/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/22-gitcredentialtest/config.tf b/terraform/22-gitcredentialtest/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/22-gitcredentialtest/config.tf +++ b/terraform/22-gitcredentialtest/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/22a-gitcredentialtestds/config.tf b/terraform/22a-gitcredentialtestds/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/22a-gitcredentialtestds/config.tf +++ b/terraform/22a-gitcredentialtestds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/23-scriptmodule/config.tf b/terraform/23-scriptmodule/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/23-scriptmodule/config.tf +++ b/terraform/23-scriptmodule/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/23a-scriptmoduleds/config.tf b/terraform/23a-scriptmoduleds/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/23a-scriptmoduleds/config.tf +++ b/terraform/23a-scriptmoduleds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/24-tenants/config.tf b/terraform/24-tenants/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/24-tenants/config.tf +++ b/terraform/24-tenants/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/24a-tenantsds/config.tf b/terraform/24a-tenantsds/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/24a-tenantsds/config.tf +++ b/terraform/24a-tenantsds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/25-certificates/config.tf b/terraform/25-certificates/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/25-certificates/config.tf +++ b/terraform/25-certificates/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/25a-certificatesds/config.tf b/terraform/25a-certificatesds/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/25a-certificatesds/config.tf +++ b/terraform/25a-certificatesds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/26-tenant_variables/config.tf b/terraform/26-tenant_variables/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/26-tenant_variables/config.tf +++ b/terraform/26-tenant_variables/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/27-machinepolicy/config.tf b/terraform/27-machinepolicy/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/27-machinepolicy/config.tf +++ b/terraform/27-machinepolicy/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/28-projecttrigger/config.tf b/terraform/28-projecttrigger/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/28-projecttrigger/config.tf +++ b/terraform/28-projecttrigger/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/29-k8starget/config.tf b/terraform/29-k8starget/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/29-k8starget/config.tf +++ b/terraform/29-k8starget/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/29a-k8stargetds/config.tf b/terraform/29a-k8stargetds/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/29a-k8stargetds/config.tf +++ b/terraform/29a-k8stargetds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/2a-projectgroupds/config.tf b/terraform/2a-projectgroupds/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/2a-projectgroupds/config.tf +++ b/terraform/2a-projectgroupds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/3-awsaccount/config.tf b/terraform/3-awsaccount/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/3-awsaccount/config.tf +++ b/terraform/3-awsaccount/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/30-sshtarget/config.tf b/terraform/30-sshtarget/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/30-sshtarget/config.tf +++ b/terraform/30-sshtarget/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/30a-sshtargetds/config.tf b/terraform/30a-sshtargetds/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/30a-sshtargetds/config.tf +++ b/terraform/30a-sshtargetds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/31-listeningtarget/config.tf b/terraform/31-listeningtarget/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/31-listeningtarget/config.tf +++ b/terraform/31-listeningtarget/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/31a-listeningtargetds/config.tf b/terraform/31a-listeningtargetds/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/31a-listeningtargetds/config.tf +++ b/terraform/31a-listeningtargetds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/32-pollingtarget/config.tf b/terraform/32-pollingtarget/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/32-pollingtarget/config.tf +++ b/terraform/32-pollingtarget/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/32a-pollingtargetds/config.tf b/terraform/32a-pollingtargetds/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/32a-pollingtargetds/config.tf +++ b/terraform/32a-pollingtargetds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/33-cloudregiontarget/config.tf b/terraform/33-cloudregiontarget/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/33-cloudregiontarget/config.tf +++ b/terraform/33-cloudregiontarget/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/33a-cloudregiontargetds/config.tf b/terraform/33a-cloudregiontargetds/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/33a-cloudregiontargetds/config.tf +++ b/terraform/33a-cloudregiontargetds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/34-offlinedroptarget/config.tf b/terraform/34-offlinedroptarget/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/34-offlinedroptarget/config.tf +++ b/terraform/34-offlinedroptarget/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/34a-offlinedroptargetds/config.tf b/terraform/34a-offlinedroptargetds/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/34a-offlinedroptargetds/config.tf +++ b/terraform/34a-offlinedroptargetds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/35-azurecloudservicetarget/config.tf b/terraform/35-azurecloudservicetarget/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/35-azurecloudservicetarget/config.tf +++ b/terraform/35-azurecloudservicetarget/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/35a-azurecloudservicetargetds/config.tf b/terraform/35a-azurecloudservicetargetds/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/35a-azurecloudservicetargetds/config.tf +++ b/terraform/35a-azurecloudservicetargetds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/36-servicefabrictarget/config.tf b/terraform/36-servicefabrictarget/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/36-servicefabrictarget/config.tf +++ b/terraform/36-servicefabrictarget/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/36a-servicefabrictargetds/config.tf b/terraform/36a-servicefabrictargetds/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/36a-servicefabrictargetds/config.tf +++ b/terraform/36a-servicefabrictargetds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/37-webapptarget/config.tf b/terraform/37-webapptarget/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/37-webapptarget/config.tf +++ b/terraform/37-webapptarget/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/37a-webapptarget/config.tf b/terraform/37a-webapptarget/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/37a-webapptarget/config.tf +++ b/terraform/37a-webapptarget/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/39-projectgitusername/config.tf b/terraform/39-projectgitusername/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/39-projectgitusername/config.tf +++ b/terraform/39-projectgitusername/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/3a-awsaccountds/config.tf b/terraform/3a-awsaccountds/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/3a-awsaccountds/config.tf +++ b/terraform/3a-awsaccountds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/4-azureaccount/config.tf b/terraform/4-azureaccount/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/4-azureaccount/config.tf +++ b/terraform/4-azureaccount/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/40-escapedollar/config.tf b/terraform/40-escapedollar/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/40-escapedollar/config.tf +++ b/terraform/40-escapedollar/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/41-terraforminlinescript/config.tf b/terraform/41-terraforminlinescript/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/41-terraforminlinescript/config.tf +++ b/terraform/41-terraforminlinescript/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/42-terraformpackagescript/config.tf b/terraform/42-terraformpackagescript/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/42-terraformpackagescript/config.tf +++ b/terraform/42-terraformpackagescript/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/43-users/config.tf b/terraform/43-users/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/43-users/config.tf +++ b/terraform/43-users/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/43a-usersds/config.tf b/terraform/43a-usersds/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/43a-usersds/config.tf +++ b/terraform/43a-usersds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/44-githubfeed/config.tf b/terraform/44-githubfeed/config.tf index 4d1bace2d..1b26a4a7c 100644 --- a/terraform/44-githubfeed/config.tf +++ b/terraform/44-githubfeed/config.tf @@ -1,5 +1,5 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } } } diff --git a/terraform/44a-githubfeedds/config.tf b/terraform/44a-githubfeedds/config.tf index 4d1bace2d..1b26a4a7c 100644 --- a/terraform/44a-githubfeedds/config.tf +++ b/terraform/44a-githubfeedds/config.tf @@ -1,5 +1,5 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } } } diff --git a/terraform/45-projectwithscriptactions/config.tf b/terraform/45-projectwithscriptactions/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/45-projectwithscriptactions/config.tf +++ b/terraform/45-projectwithscriptactions/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/46-runbooks/config.tf b/terraform/46-runbooks/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/46-runbooks/config.tf +++ b/terraform/46-runbooks/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/5-userpassaccount/config.tf b/terraform/5-userpassaccount/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/5-userpassaccount/config.tf +++ b/terraform/5-userpassaccount/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/6-gcpaccount/config.tf b/terraform/6-gcpaccount/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/6-gcpaccount/config.tf +++ b/terraform/6-gcpaccount/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/7-sshaccount/config.tf b/terraform/7-sshaccount/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/7-sshaccount/config.tf +++ b/terraform/7-sshaccount/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/8-azuresubscriptionaccount/config.tf b/terraform/8-azuresubscriptionaccount/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/8-azuresubscriptionaccount/config.tf +++ b/terraform/8-azuresubscriptionaccount/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/9-tokenaccount/config.tf b/terraform/9-tokenaccount/config.tf index 8a9eaf8a9..fc2ebf4b0 100644 --- a/terraform/9-tokenaccount/config.tf +++ b/terraform/9-tokenaccount/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } From 5922f3b3488eea01ee634481b4bd4b7c4199444c Mon Sep 17 00:00:00 2001 From: Travis Leeden Date: Wed, 10 Jan 2024 15:35:27 +1000 Subject: [PATCH 09/16] Revert "Test if test config needed updated provider version" This reverts commit 9de544dba265d17d74596381e35628f8e1ad0821. --- terraform/1-singlespace/config.tf | 2 +- terraform/10-helmfeed/config.tf | 2 +- terraform/10a-helmfeedds/config.tf | 2 +- terraform/11-dockerfeed/config.tf | 2 +- terraform/11a-dockerfeedds/config.tf | 2 +- terraform/12-ecrfeed/config.tf | 2 +- terraform/12a-ecrfeedds/config.tf | 2 +- terraform/13-mavenfeed/config.tf | 2 +- terraform/13a-mavenfeedds/config.tf | 2 +- terraform/14-nugetfeed/config.tf | 2 +- terraform/14a-nugetfeedds/config.tf | 2 +- terraform/15-workerpool/config.tf | 2 +- terraform/15a-workerpoolds/config.tf | 2 +- terraform/16-environment/config.tf | 2 +- terraform/16a-environmentlookup/config.tf | 2 +- terraform/17-lifecycle/config.tf | 2 +- terraform/17a-lifecycleds/config.tf | 2 +- terraform/18-variableset/config.tf | 2 +- terraform/18a-variablesetds/config.tf | 2 +- terraform/19-project/config.tf | 2 +- terraform/19a-projectds/config.tf | 2 +- terraform/19b-projectspace/config.tf | 2 +- terraform/2-projectgroup/config.tf | 2 +- terraform/20-channel/config.tf | 2 +- terraform/20a-channelds/config.tf | 2 +- terraform/21-tagset/config.tf | 2 +- terraform/22-gitcredentialtest/config.tf | 2 +- terraform/22a-gitcredentialtestds/config.tf | 2 +- terraform/23-scriptmodule/config.tf | 2 +- terraform/23a-scriptmoduleds/config.tf | 2 +- terraform/24-tenants/config.tf | 2 +- terraform/24a-tenantsds/config.tf | 2 +- terraform/25-certificates/config.tf | 2 +- terraform/25a-certificatesds/config.tf | 2 +- terraform/26-tenant_variables/config.tf | 2 +- terraform/27-machinepolicy/config.tf | 2 +- terraform/28-projecttrigger/config.tf | 2 +- terraform/29-k8starget/config.tf | 2 +- terraform/29a-k8stargetds/config.tf | 2 +- terraform/2a-projectgroupds/config.tf | 2 +- terraform/3-awsaccount/config.tf | 2 +- terraform/30-sshtarget/config.tf | 2 +- terraform/30a-sshtargetds/config.tf | 2 +- terraform/31-listeningtarget/config.tf | 2 +- terraform/31a-listeningtargetds/config.tf | 2 +- terraform/32-pollingtarget/config.tf | 2 +- terraform/32a-pollingtargetds/config.tf | 2 +- terraform/33-cloudregiontarget/config.tf | 2 +- terraform/33a-cloudregiontargetds/config.tf | 2 +- terraform/34-offlinedroptarget/config.tf | 2 +- terraform/34a-offlinedroptargetds/config.tf | 2 +- terraform/35-azurecloudservicetarget/config.tf | 2 +- terraform/35a-azurecloudservicetargetds/config.tf | 2 +- terraform/36-servicefabrictarget/config.tf | 2 +- terraform/36a-servicefabrictargetds/config.tf | 2 +- terraform/37-webapptarget/config.tf | 2 +- terraform/37a-webapptarget/config.tf | 2 +- terraform/39-projectgitusername/config.tf | 2 +- terraform/3a-awsaccountds/config.tf | 2 +- terraform/4-azureaccount/config.tf | 2 +- terraform/40-escapedollar/config.tf | 2 +- terraform/41-terraforminlinescript/config.tf | 2 +- terraform/42-terraformpackagescript/config.tf | 2 +- terraform/43-users/config.tf | 2 +- terraform/43a-usersds/config.tf | 2 +- terraform/44-githubfeed/config.tf | 2 +- terraform/44a-githubfeedds/config.tf | 2 +- terraform/45-projectwithscriptactions/config.tf | 2 +- terraform/46-runbooks/config.tf | 2 +- terraform/5-userpassaccount/config.tf | 2 +- terraform/6-gcpaccount/config.tf | 2 +- terraform/7-sshaccount/config.tf | 2 +- terraform/8-azuresubscriptionaccount/config.tf | 2 +- terraform/9-tokenaccount/config.tf | 2 +- 74 files changed, 74 insertions(+), 74 deletions(-) diff --git a/terraform/1-singlespace/config.tf b/terraform/1-singlespace/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/1-singlespace/config.tf +++ b/terraform/1-singlespace/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/10-helmfeed/config.tf b/terraform/10-helmfeed/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/10-helmfeed/config.tf +++ b/terraform/10-helmfeed/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/10a-helmfeedds/config.tf b/terraform/10a-helmfeedds/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/10a-helmfeedds/config.tf +++ b/terraform/10a-helmfeedds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/11-dockerfeed/config.tf b/terraform/11-dockerfeed/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/11-dockerfeed/config.tf +++ b/terraform/11-dockerfeed/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/11a-dockerfeedds/config.tf b/terraform/11a-dockerfeedds/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/11a-dockerfeedds/config.tf +++ b/terraform/11a-dockerfeedds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/12-ecrfeed/config.tf b/terraform/12-ecrfeed/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/12-ecrfeed/config.tf +++ b/terraform/12-ecrfeed/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/12a-ecrfeedds/config.tf b/terraform/12a-ecrfeedds/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/12a-ecrfeedds/config.tf +++ b/terraform/12a-ecrfeedds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/13-mavenfeed/config.tf b/terraform/13-mavenfeed/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/13-mavenfeed/config.tf +++ b/terraform/13-mavenfeed/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/13a-mavenfeedds/config.tf b/terraform/13a-mavenfeedds/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/13a-mavenfeedds/config.tf +++ b/terraform/13a-mavenfeedds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/14-nugetfeed/config.tf b/terraform/14-nugetfeed/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/14-nugetfeed/config.tf +++ b/terraform/14-nugetfeed/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/14a-nugetfeedds/config.tf b/terraform/14a-nugetfeedds/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/14a-nugetfeedds/config.tf +++ b/terraform/14a-nugetfeedds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/15-workerpool/config.tf b/terraform/15-workerpool/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/15-workerpool/config.tf +++ b/terraform/15-workerpool/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/15a-workerpoolds/config.tf b/terraform/15a-workerpoolds/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/15a-workerpoolds/config.tf +++ b/terraform/15a-workerpoolds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/16-environment/config.tf b/terraform/16-environment/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/16-environment/config.tf +++ b/terraform/16-environment/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/16a-environmentlookup/config.tf b/terraform/16a-environmentlookup/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/16a-environmentlookup/config.tf +++ b/terraform/16a-environmentlookup/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/17-lifecycle/config.tf b/terraform/17-lifecycle/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/17-lifecycle/config.tf +++ b/terraform/17-lifecycle/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/17a-lifecycleds/config.tf b/terraform/17a-lifecycleds/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/17a-lifecycleds/config.tf +++ b/terraform/17a-lifecycleds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/18-variableset/config.tf b/terraform/18-variableset/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/18-variableset/config.tf +++ b/terraform/18-variableset/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/18a-variablesetds/config.tf b/terraform/18a-variablesetds/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/18a-variablesetds/config.tf +++ b/terraform/18a-variablesetds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/19-project/config.tf b/terraform/19-project/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/19-project/config.tf +++ b/terraform/19-project/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/19a-projectds/config.tf b/terraform/19a-projectds/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/19a-projectds/config.tf +++ b/terraform/19a-projectds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/19b-projectspace/config.tf b/terraform/19b-projectspace/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/19b-projectspace/config.tf +++ b/terraform/19b-projectspace/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/2-projectgroup/config.tf b/terraform/2-projectgroup/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/2-projectgroup/config.tf +++ b/terraform/2-projectgroup/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/20-channel/config.tf b/terraform/20-channel/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/20-channel/config.tf +++ b/terraform/20-channel/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/20a-channelds/config.tf b/terraform/20a-channelds/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/20a-channelds/config.tf +++ b/terraform/20a-channelds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/21-tagset/config.tf b/terraform/21-tagset/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/21-tagset/config.tf +++ b/terraform/21-tagset/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/22-gitcredentialtest/config.tf b/terraform/22-gitcredentialtest/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/22-gitcredentialtest/config.tf +++ b/terraform/22-gitcredentialtest/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/22a-gitcredentialtestds/config.tf b/terraform/22a-gitcredentialtestds/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/22a-gitcredentialtestds/config.tf +++ b/terraform/22a-gitcredentialtestds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/23-scriptmodule/config.tf b/terraform/23-scriptmodule/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/23-scriptmodule/config.tf +++ b/terraform/23-scriptmodule/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/23a-scriptmoduleds/config.tf b/terraform/23a-scriptmoduleds/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/23a-scriptmoduleds/config.tf +++ b/terraform/23a-scriptmoduleds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/24-tenants/config.tf b/terraform/24-tenants/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/24-tenants/config.tf +++ b/terraform/24-tenants/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/24a-tenantsds/config.tf b/terraform/24a-tenantsds/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/24a-tenantsds/config.tf +++ b/terraform/24a-tenantsds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/25-certificates/config.tf b/terraform/25-certificates/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/25-certificates/config.tf +++ b/terraform/25-certificates/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/25a-certificatesds/config.tf b/terraform/25a-certificatesds/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/25a-certificatesds/config.tf +++ b/terraform/25a-certificatesds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/26-tenant_variables/config.tf b/terraform/26-tenant_variables/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/26-tenant_variables/config.tf +++ b/terraform/26-tenant_variables/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/27-machinepolicy/config.tf b/terraform/27-machinepolicy/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/27-machinepolicy/config.tf +++ b/terraform/27-machinepolicy/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/28-projecttrigger/config.tf b/terraform/28-projecttrigger/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/28-projecttrigger/config.tf +++ b/terraform/28-projecttrigger/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/29-k8starget/config.tf b/terraform/29-k8starget/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/29-k8starget/config.tf +++ b/terraform/29-k8starget/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/29a-k8stargetds/config.tf b/terraform/29a-k8stargetds/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/29a-k8stargetds/config.tf +++ b/terraform/29a-k8stargetds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/2a-projectgroupds/config.tf b/terraform/2a-projectgroupds/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/2a-projectgroupds/config.tf +++ b/terraform/2a-projectgroupds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/3-awsaccount/config.tf b/terraform/3-awsaccount/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/3-awsaccount/config.tf +++ b/terraform/3-awsaccount/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/30-sshtarget/config.tf b/terraform/30-sshtarget/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/30-sshtarget/config.tf +++ b/terraform/30-sshtarget/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/30a-sshtargetds/config.tf b/terraform/30a-sshtargetds/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/30a-sshtargetds/config.tf +++ b/terraform/30a-sshtargetds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/31-listeningtarget/config.tf b/terraform/31-listeningtarget/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/31-listeningtarget/config.tf +++ b/terraform/31-listeningtarget/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/31a-listeningtargetds/config.tf b/terraform/31a-listeningtargetds/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/31a-listeningtargetds/config.tf +++ b/terraform/31a-listeningtargetds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/32-pollingtarget/config.tf b/terraform/32-pollingtarget/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/32-pollingtarget/config.tf +++ b/terraform/32-pollingtarget/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/32a-pollingtargetds/config.tf b/terraform/32a-pollingtargetds/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/32a-pollingtargetds/config.tf +++ b/terraform/32a-pollingtargetds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/33-cloudregiontarget/config.tf b/terraform/33-cloudregiontarget/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/33-cloudregiontarget/config.tf +++ b/terraform/33-cloudregiontarget/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/33a-cloudregiontargetds/config.tf b/terraform/33a-cloudregiontargetds/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/33a-cloudregiontargetds/config.tf +++ b/terraform/33a-cloudregiontargetds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/34-offlinedroptarget/config.tf b/terraform/34-offlinedroptarget/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/34-offlinedroptarget/config.tf +++ b/terraform/34-offlinedroptarget/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/34a-offlinedroptargetds/config.tf b/terraform/34a-offlinedroptargetds/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/34a-offlinedroptargetds/config.tf +++ b/terraform/34a-offlinedroptargetds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/35-azurecloudservicetarget/config.tf b/terraform/35-azurecloudservicetarget/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/35-azurecloudservicetarget/config.tf +++ b/terraform/35-azurecloudservicetarget/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/35a-azurecloudservicetargetds/config.tf b/terraform/35a-azurecloudservicetargetds/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/35a-azurecloudservicetargetds/config.tf +++ b/terraform/35a-azurecloudservicetargetds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/36-servicefabrictarget/config.tf b/terraform/36-servicefabrictarget/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/36-servicefabrictarget/config.tf +++ b/terraform/36-servicefabrictarget/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/36a-servicefabrictargetds/config.tf b/terraform/36a-servicefabrictargetds/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/36a-servicefabrictargetds/config.tf +++ b/terraform/36a-servicefabrictargetds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/37-webapptarget/config.tf b/terraform/37-webapptarget/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/37-webapptarget/config.tf +++ b/terraform/37-webapptarget/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/37a-webapptarget/config.tf b/terraform/37a-webapptarget/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/37a-webapptarget/config.tf +++ b/terraform/37a-webapptarget/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/39-projectgitusername/config.tf b/terraform/39-projectgitusername/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/39-projectgitusername/config.tf +++ b/terraform/39-projectgitusername/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/3a-awsaccountds/config.tf b/terraform/3a-awsaccountds/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/3a-awsaccountds/config.tf +++ b/terraform/3a-awsaccountds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/4-azureaccount/config.tf b/terraform/4-azureaccount/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/4-azureaccount/config.tf +++ b/terraform/4-azureaccount/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/40-escapedollar/config.tf b/terraform/40-escapedollar/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/40-escapedollar/config.tf +++ b/terraform/40-escapedollar/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/41-terraforminlinescript/config.tf b/terraform/41-terraforminlinescript/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/41-terraforminlinescript/config.tf +++ b/terraform/41-terraforminlinescript/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/42-terraformpackagescript/config.tf b/terraform/42-terraformpackagescript/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/42-terraformpackagescript/config.tf +++ b/terraform/42-terraformpackagescript/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/43-users/config.tf b/terraform/43-users/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/43-users/config.tf +++ b/terraform/43-users/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/43a-usersds/config.tf b/terraform/43a-usersds/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/43a-usersds/config.tf +++ b/terraform/43a-usersds/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/44-githubfeed/config.tf b/terraform/44-githubfeed/config.tf index 1b26a4a7c..4d1bace2d 100644 --- a/terraform/44-githubfeed/config.tf +++ b/terraform/44-githubfeed/config.tf @@ -1,5 +1,5 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } } } diff --git a/terraform/44a-githubfeedds/config.tf b/terraform/44a-githubfeedds/config.tf index 1b26a4a7c..4d1bace2d 100644 --- a/terraform/44a-githubfeedds/config.tf +++ b/terraform/44a-githubfeedds/config.tf @@ -1,5 +1,5 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } } } diff --git a/terraform/45-projectwithscriptactions/config.tf b/terraform/45-projectwithscriptactions/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/45-projectwithscriptactions/config.tf +++ b/terraform/45-projectwithscriptactions/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/46-runbooks/config.tf b/terraform/46-runbooks/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/46-runbooks/config.tf +++ b/terraform/46-runbooks/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/5-userpassaccount/config.tf b/terraform/5-userpassaccount/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/5-userpassaccount/config.tf +++ b/terraform/5-userpassaccount/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/6-gcpaccount/config.tf b/terraform/6-gcpaccount/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/6-gcpaccount/config.tf +++ b/terraform/6-gcpaccount/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/7-sshaccount/config.tf b/terraform/7-sshaccount/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/7-sshaccount/config.tf +++ b/terraform/7-sshaccount/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/8-azuresubscriptionaccount/config.tf b/terraform/8-azuresubscriptionaccount/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/8-azuresubscriptionaccount/config.tf +++ b/terraform/8-azuresubscriptionaccount/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } diff --git a/terraform/9-tokenaccount/config.tf b/terraform/9-tokenaccount/config.tf index fc2ebf4b0..8a9eaf8a9 100644 --- a/terraform/9-tokenaccount/config.tf +++ b/terraform/9-tokenaccount/config.tf @@ -1,6 +1,6 @@ terraform { required_providers { - octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.14.3" } + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } // Use the option below when debugging // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } } From fb25578f102ebfd3eeacf4ecd7ce04a5f4557771 Mon Sep 17 00:00:00 2001 From: Travis Leeden Date: Wed, 10 Jan 2024 16:54:17 +1000 Subject: [PATCH 10/16] Add intergration test for variables --- integration_test.go | 27 ++++++++ terraform/49-variables/config.tf | 7 +++ terraform/49-variables/environments.tf | 20 ++++++ terraform/49-variables/infrastructure.tf | 22 +++++++ terraform/49-variables/project.tf | 79 ++++++++++++++++++++++++ terraform/49-variables/provider.tf | 5 ++ terraform/49-variables/provider_vars.tf | 18 ++++++ terraform/49-variables/space.tf | 3 + terraform/49-variables/variables.tf | 66 ++++++++++++++++++++ 9 files changed, 247 insertions(+) create mode 100644 terraform/49-variables/config.tf create mode 100644 terraform/49-variables/environments.tf create mode 100644 terraform/49-variables/infrastructure.tf create mode 100644 terraform/49-variables/project.tf create mode 100644 terraform/49-variables/provider.tf create mode 100644 terraform/49-variables/provider_vars.tf create mode 100644 terraform/49-variables/space.tf create mode 100644 terraform/49-variables/variables.tf diff --git a/integration_test.go b/integration_test.go index 9786625ec..8875e7435 100644 --- a/integration_test.go +++ b/integration_test.go @@ -3350,3 +3350,30 @@ func TestK8sPodAuthTargetResource(t *testing.T) { return nil }) } + +func TestVariableResource(t *testing.T) { + testFramework := test.OctopusContainerTest{} + testFramework.ArrangeTest(t, func(t *testing.T, container *test.OctopusContainer, spaceClient *client.Client) error { + // Act + newSpaceId, err := testFramework.Act(t, container, "./terraform", "49-variables", []string{}) + + if err != nil { + return err + } + + // Assert + client, err := octoclient.CreateClient(container.URI, newSpaceId, test.ApiKey) + project, err := client.Projects.GetByName("Test") + variableSet, err := client.Variables.GetAll(project.ID) + + if err != nil { + return err + } + + if len(variableSet.Variables) == 7 { + t.Fatalf("Expected 7 variables to be created") + } + + return nil + }) +} diff --git a/terraform/49-variables/config.tf b/terraform/49-variables/config.tf new file mode 100644 index 000000000..8a9eaf8a9 --- /dev/null +++ b/terraform/49-variables/config.tf @@ -0,0 +1,7 @@ +terraform { + required_providers { + octopusdeploy = { source = "OctopusDeployLabs/octopusdeploy", version = "0.11.3" } + // Use the option below when debugging + // octopusdeploy = { source = "octopus.com/com/octopusdeploy" } + } +} diff --git a/terraform/49-variables/environments.tf b/terraform/49-variables/environments.tf new file mode 100644 index 000000000..5ee9d3fe5 --- /dev/null +++ b/terraform/49-variables/environments.tf @@ -0,0 +1,20 @@ +resource "octopusdeploy_environment" "development_environment" { + allow_dynamic_infrastructure = true + description = "A test environment" + name = "Development" + use_guided_failure = false +} + +resource "octopusdeploy_environment" "test_environment" { + allow_dynamic_infrastructure = true + description = "A test environment" + name = "Test" + use_guided_failure = false +} + +resource "octopusdeploy_environment" "production_environment" { + allow_dynamic_infrastructure = true + description = "A test environment" + name = "Production" + use_guided_failure = false +} \ No newline at end of file diff --git a/terraform/49-variables/infrastructure.tf b/terraform/49-variables/infrastructure.tf new file mode 100644 index 000000000..904dfb769 --- /dev/null +++ b/terraform/49-variables/infrastructure.tf @@ -0,0 +1,22 @@ +data "octopusdeploy_machine_policies" "default_machine_policy" { + ids = null + partial_name = "Default Machine Policy" + skip = 0 + take = 1 +} + +resource "octopusdeploy_cloud_region_deployment_target" "test_target" { + environments = ["${octopusdeploy_environment.development_environment.id}"] + name = "Test" + roles = ["cloud"] + default_worker_pool_id = "" + health_status = "Healthy" + is_disabled = false + machine_policy_id = "${data.octopusdeploy_machine_policies.default_machine_policy.machine_policies[0].id}" + shell_name = "Unknown" + shell_version = "Unknown" + tenant_tags = [] + tenanted_deployment_participation = "Untenanted" + tenants = [] + thumbprint = "" +} \ No newline at end of file diff --git a/terraform/49-variables/project.tf b/terraform/49-variables/project.tf new file mode 100644 index 000000000..aca629c84 --- /dev/null +++ b/terraform/49-variables/project.tf @@ -0,0 +1,79 @@ +data "octopusdeploy_lifecycles" "lifecycle_default_lifecycle" { + ids = null + partial_name = "Default Lifecycle" + skip = 0 + take = 1 +} + +resource "octopusdeploy_project_group" "project_group_test" { + name = "Test" + description = "Test Description" +} + + + +resource "octopusdeploy_project" "test_project" { + auto_create_release = false + default_guided_failure_mode = "EnvironmentDefault" + default_to_skip_if_already_installed = false + description = "Test project" + discrete_channel_release = false + is_disabled = false + is_discrete_channel_release = false + is_version_controlled = false + lifecycle_id = data.octopusdeploy_lifecycles.lifecycle_default_lifecycle.lifecycles[0].id + name = "Test" + project_group_id = octopusdeploy_project_group.project_group_test.id + tenanted_deployment_participation = "Untenanted" + space_id = var.octopus_space_id + included_library_variable_sets = [] + versioning_strategy { + template = "#{Octopus.Version.LastMajor}.#{Octopus.Version.LastMinor}.#{Octopus.Version.LastPatch}.#{Octopus.Version.NextRevision}" + } + + connectivity_policy { + allow_deployments_to_no_targets = false + exclude_unhealthy_targets = false + skip_machine_behavior = "SkipUnavailableMachines" + } + template { + name = "Project Template Variable" + label = "Test" + default_value = "Test" + display_settings = { "Octopus.ControlType" = "SingleLineText" } + } +} + +resource "octopusdeploy_deployment_process" "test_deployment_process" { + project_id = octopusdeploy_project.test_project.id + step { + condition = "Success" + name = "Hello world (using PowerShell)" + package_requirement = "LetOctopusDecide" + start_trigger = "StartAfterPrevious" + run_script_action { + can_be_used_for_project_versioning = false + condition = "Success" + is_disabled = false + is_required = true + name = "Hello world (using PowerShell)" + script_body = <<-EOT + Write-Host 'Hello world, using PowerShell' + #TODO: Experiment with steps of your own :) + Write-Host '[Learn more about the types of steps available in Octopus](https://g.octopushq.com/OnboardingAddStepsLearnMore)' + EOT + run_on_server = true + } + } +} + +resource "octopusdeploy_channel" "test_channel" { + depends_on = [octopusdeploy_deployment_process.test_deployment_process] + description = "Test Channel" + name = "Test Channel", + project_id = octopusdeploy_project.test_project.id + + rule { + version_range = "1.0" + } +} \ No newline at end of file diff --git a/terraform/49-variables/provider.tf b/terraform/49-variables/provider.tf new file mode 100644 index 000000000..a04197720 --- /dev/null +++ b/terraform/49-variables/provider.tf @@ -0,0 +1,5 @@ +provider "octopusdeploy" { + address = "${var.octopus_server}" + api_key = "${var.octopus_apikey}" + space_id = "${var.octopus_space_id}" +} diff --git a/terraform/49-variables/provider_vars.tf b/terraform/49-variables/provider_vars.tf new file mode 100644 index 000000000..c7d93fe40 --- /dev/null +++ b/terraform/49-variables/provider_vars.tf @@ -0,0 +1,18 @@ +variable "octopus_server" { + type = string + nullable = false + sensitive = false + description = "The URL of the Octopus server e.g. https://myinstance.octopus.app." +} +variable "octopus_apikey" { + type = string + nullable = false + sensitive = true + description = "The API key used to access the Octopus server. See https://octopus.com/docs/octopus-rest-api/how-to-create-an-api-key for details on creating an API key." +} +variable "octopus_space_id" { + type = string + nullable = false + sensitive = false + description = "The space ID to populate" +} diff --git a/terraform/49-variables/space.tf b/terraform/49-variables/space.tf new file mode 100644 index 000000000..ee59bdc80 --- /dev/null +++ b/terraform/49-variables/space.tf @@ -0,0 +1,3 @@ +output "octopus_space_id" { + value = var.octopus_space_id +} diff --git a/terraform/49-variables/variables.tf b/terraform/49-variables/variables.tf new file mode 100644 index 000000000..055148754 --- /dev/null +++ b/terraform/49-variables/variables.tf @@ -0,0 +1,66 @@ +resource "octopusdeploy_variable" "unscoped_project_variable" { + owner_id = octopusdeploy_project.test_project.id + type = "String" + name = "UnscopedVariable" + value = "UnscopedVariable" +} + +resource "octopusdeploy_variable" "scoped_project_variable_action" { + owner_id = octopusdeploy_project.test_project.id + type = "String" + name = "ActionScopedVariable" + value = "unscoped variable" + scope { + actions = [octopusdeploy_deployment_process.test_deployment_process.step[0].run_script_action[0].id] + } +} + +resource "octopusdeploy_variable" "scoped_project_variable_channel" { + owner_id = octopusdeploy_project.test_project.id + type = "String" + name = "ChannelScopedVariable" + value = "ChannelScopedVariable" + scope { + channels = [octopusdeploy_channel.test_channel.id] + } +} + +resource "octopusdeploy_variable" "scoped_project_variable_environment" { + owner_id = octopusdeploy_project.test_project.id + type = "String" + name = "EnvironmentScopedVariable" + value = "EnvironmentScopedVariable" + scope { + channels = [octopusdeploy_environment.development_environment.id] + } +} + +resource "octopusdeploy_variable" "scoped_project_variable_machine" { + owner_id = octopusdeploy_project.test_project.id + type = "String" + name = "MachineScopedVariable" + value = "MachineScopedVariable" + scope { + machines = [octopusdeploy_cloud_region_deployment_target.test_target.id] + } +} + +resource "octopusdeploy_variable" "scoped_project_variable_process" { + owner_id = octopusdeploy_project.test_project.id + type = "String" + name = "ProcessScopedVariable" + value = "ProcessScopedVariable" + scope { + processes = [octopusdeploy_deployment_process.test_deployment_process.id] + } +} + +resource "octopusdeploy_variable" "scoped_project_variable_role" { + owner_id = octopusdeploy_project.test_project.id + type = "String" + name = "RoleScopedVariable" + value = "RoleScopedVariable" + scope { + roles = ["role"] + } +} From b69423109fc826df8524193c9fe4481181cb1517 Mon Sep 17 00:00:00 2001 From: Travis Leeden Date: Wed, 10 Jan 2024 16:54:43 +1000 Subject: [PATCH 11/16] Revert "add test for variable scoping" This reverts commit ce8391234a94a5b12be77f58ed9e31634a3f5598. --- octopusdeploy/resource_variable_test.go | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/octopusdeploy/resource_variable_test.go b/octopusdeploy/resource_variable_test.go index 15817baac..c682253a0 100644 --- a/octopusdeploy/resource_variable_test.go +++ b/octopusdeploy/resource_variable_test.go @@ -35,8 +35,6 @@ func TestAccOctopusDeployVariableBasic(t *testing.T) { projectGroupName := acctest.RandStringFromCharSet(20, acctest.CharSetAlpha) projectLocalName := acctest.RandStringFromCharSet(20, acctest.CharSetAlpha) projectName := acctest.RandStringFromCharSet(20, acctest.CharSetAlpha) - deploymentProcessLocalName := acctest.RandStringFromCharSet(20, acctest.CharSetAlpha) - deploymentProcessName := acctest.RandStringFromCharSet(20, acctest.CharSetAlpha) // TODO: replace with client reference spaceID := os.Getenv("OCTOPUS_SPACE") @@ -58,7 +56,7 @@ func TestAccOctopusDeployVariableBasic(t *testing.T) { resource.TestCheckResourceAttr(prefix, "scope.0.%", "6"), resource.TestCheckResourceAttr(prefix, "scope.0.environments.#", "1"), ), - Config: testVariableBasic(spaceID, environmentLocalName, environmentName, lifecycleLocalName, lifecycleName, projectGroupLocalName, projectGroupName, projectLocalName, projectName, deploymentProcessLocalName, deploymentProcessName, channelLocalName, channelName, localName, name, description, isSensitive, value, variableType), + Config: testVariableBasic(spaceID, environmentLocalName, environmentName, lifecycleLocalName, lifecycleName, projectGroupLocalName, projectGroupName, projectLocalName, projectName, channelLocalName, channelName, localName, name, description, isSensitive, value, variableType), }, { Check: resource.ComposeTestCheckFunc( @@ -72,7 +70,7 @@ func TestAccOctopusDeployVariableBasic(t *testing.T) { resource.TestCheckResourceAttr(prefix, "scope.0.%", "6"), resource.TestCheckResourceAttr(prefix, "scope.0.environments.#", "1"), ), - Config: testVariableBasic(spaceID, environmentLocalName, environmentName, lifecycleLocalName, lifecycleName, projectGroupLocalName, projectGroupName, projectLocalName, projectName, deploymentProcessLocalName, deploymentProcessName, channelLocalName, channelName, localName, name, description, isSensitive, newValue, variableType), + Config: testVariableBasic(spaceID, environmentLocalName, environmentName, lifecycleLocalName, lifecycleName, projectGroupLocalName, projectGroupName, projectLocalName, projectName, channelLocalName, channelName, localName, name, description, isSensitive, newValue, variableType), }, { Check: resource.ComposeTestCheckFunc( @@ -90,7 +88,7 @@ func TestAccOctopusDeployVariableBasic(t *testing.T) { %s`, testGcpAccount(localName, name, acctest.RandStringFromCharSet(20, acctest.CharSetAlpha)), - testVariableBasic(spaceID, environmentLocalName, environmentName, lifecycleLocalName, lifecycleName, projectGroupLocalName, projectGroupName, projectLocalName, projectName, deploymentProcessLocalName, deploymentProcessName, channelLocalName, channelName, localName, name, description, isSensitive, accountValue, accountVariableType)), + testVariableBasic(spaceID, environmentLocalName, environmentName, lifecycleLocalName, lifecycleName, projectGroupLocalName, projectGroupName, projectLocalName, projectName, channelLocalName, channelName, localName, name, description, isSensitive, accountValue, accountVariableType)), }, }, }) @@ -98,7 +96,7 @@ func TestAccOctopusDeployVariableBasic(t *testing.T) { func testVariableBasic(spaceID string, environmentLocalName string, environmentName string, - lifecycleLocalName string, lifecycleName string, projectGroupLocalName string, projectGroupName string, projectLocalName string, projectName string, deploymentProcessLocalName string, deploymentProcessName string, channelLocalName string, channelName string, localName string, name string, description string, isSensitive bool, value string, variableType string) string { + lifecycleLocalName string, lifecycleName string, projectGroupLocalName string, projectGroupName string, projectLocalName string, projectName string, channelLocalName string, channelName string, localName string, name string, description string, isSensitive bool, value string, variableType string) string { return fmt.Sprintf(`%s %s @@ -109,8 +107,6 @@ func testVariableBasic(spaceID string, environmentLocalName string, %s - %s - resource "octopusdeploy_variable" "%s" { description = "%s" is_sensitive = "%v" @@ -122,7 +118,6 @@ func testVariableBasic(spaceID string, environmentLocalName string, scope { channels = [octopusdeploy_channel.%s.id] environments = [octopusdeploy_environment.%s.id] - processes = [octopusdeploy_deployment_process.%s.id] tenant_tags = [] } }`, @@ -130,7 +125,6 @@ func testVariableBasic(spaceID string, environmentLocalName string, createLifecycle(lifecycleLocalName, lifecycleName), createProjectGroup(projectGroupLocalName, projectGroupName), createProject(spaceID, projectLocalName, projectName, lifecycleLocalName, projectGroupLocalName), - createDeploymentProcess(projectLocalName, spaceID, deploymentProcessLocalName, deploymentProcessName), createChannel(channelLocalName, channelName, projectLocalName), localName, description, @@ -141,7 +135,6 @@ func testVariableBasic(spaceID string, environmentLocalName string, value, channelLocalName, environmentLocalName, - deploymentProcessLocalName, ) } @@ -172,14 +165,6 @@ func createProject(spaceID string, localName, name, lifecycleLocal, projectGroup }`, localName, name, lifecycleLocal, projectGroupLocal, spaceID) } -func createDeploymentProcess(projectLocalName string, spaceId string, localName, name string) string { - return fmt.Sprintf(`resource "octopusdeploy_deployment_process" "%s" { - name = "%s" - project_id = octopusdeploy_project.%s.id - space_id = "%s" - }`, localName, name, projectLocalName, spaceId) -} - func createChannel(localName, name, projectLocal string) string { return fmt.Sprintf(`resource "octopusdeploy_channel" "%s" { name = "%s" From 998f03e5c99dfc84731ae5a35745299b22d8c4b6 Mon Sep 17 00:00:00 2001 From: Travis Leeden Date: Wed, 10 Jan 2024 18:37:36 +1000 Subject: [PATCH 12/16] fix test --- terraform/49-variables/project.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/49-variables/project.tf b/terraform/49-variables/project.tf index aca629c84..c42f38556 100644 --- a/terraform/49-variables/project.tf +++ b/terraform/49-variables/project.tf @@ -70,7 +70,7 @@ resource "octopusdeploy_deployment_process" "test_deployment_process" { resource "octopusdeploy_channel" "test_channel" { depends_on = [octopusdeploy_deployment_process.test_deployment_process] description = "Test Channel" - name = "Test Channel", + name = "Test Channel" project_id = octopusdeploy_project.test_project.id rule { From 7806939b779472ec32bf65c35f4111cb14646ef4 Mon Sep 17 00:00:00 2001 From: Travis Leeden Date: Thu, 11 Jan 2024 09:31:45 +1000 Subject: [PATCH 13/16] fix test round 2 --- terraform/49-variables/project.tf | 4 ---- 1 file changed, 4 deletions(-) diff --git a/terraform/49-variables/project.tf b/terraform/49-variables/project.tf index c42f38556..37f431726 100644 --- a/terraform/49-variables/project.tf +++ b/terraform/49-variables/project.tf @@ -72,8 +72,4 @@ resource "octopusdeploy_channel" "test_channel" { description = "Test Channel" name = "Test Channel" project_id = octopusdeploy_project.test_project.id - - rule { - version_range = "1.0" - } } \ No newline at end of file From 1c7981284bd0b7684a9f962caa4481ef9a774f35 Mon Sep 17 00:00:00 2001 From: Travis Leeden Date: Thu, 11 Jan 2024 09:56:56 +1000 Subject: [PATCH 14/16] Actually do the correct assertion --- integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration_test.go b/integration_test.go index 8875e7435..e545b9581 100644 --- a/integration_test.go +++ b/integration_test.go @@ -3370,7 +3370,7 @@ func TestVariableResource(t *testing.T) { return err } - if len(variableSet.Variables) == 7 { + if len(variableSet.Variables) != 7 { t.Fatalf("Expected 7 variables to be created") } From 5a47d995337074e381e0bd0f3dae7f8b6e773521 Mon Sep 17 00:00:00 2001 From: Travis Leeden Date: Thu, 11 Jan 2024 11:14:08 +1000 Subject: [PATCH 15/16] Updated test to check variable scopes --- integration_test.go | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/integration_test.go b/integration_test.go index e545b9581..93f829da5 100644 --- a/integration_test.go +++ b/integration_test.go @@ -3371,7 +3371,40 @@ func TestVariableResource(t *testing.T) { } if len(variableSet.Variables) != 7 { - t.Fatalf("Expected 7 variables to be created") + t.Fatalf("Expected 7 variables to be created.") + } + + for _, variable := range variableSet.Variables { + switch variable.Name { + case "UnscopedVariable": + if !variable.Scope.IsEmpty() { + t.Fatalf("Expected UnscopedVariable to have no scope values.") + } + case "ActionScopedVariable": + if len(variable.Scope.Actions) == 0 { + t.Fatalf("Expected ActionScopedVariable to have action scope.") + } + case "ChannelScopedVariable": + if len(variable.Scope.Channels) == 0 { + t.Fatalf("Expected ChannelScopedVariable to have channel scope.") + } + case "EnvironmentScopedVariable": + if len(variable.Scope.Environments) == 0 { + t.Fatalf("Expected EnvironmentScopedVariable to have environment scope.") + } + case "MachineScopedVariable": + if len(variable.Scope.Machines) == 0 { + t.Fatalf("Expected MachineScopedVariable to have machine scope.") + } + case "ProcessScopedVariable": + if len(variable.Scope.ProcessOwners) == 0 { + t.Fatalf("Expected ProcessScopedVariable to have process scope.") + } + case "RoleScopedVariable": + if len(variable.Scope.Roles) == 0 { + t.Fatalf("Expected RoleScopedVariable to have role scope.") + } + } } return nil From c0e8fba69944dbea9a8241109c4eba7f9e7e8192 Mon Sep 17 00:00:00 2001 From: Travis Leeden Date: Thu, 11 Jan 2024 11:23:11 +1000 Subject: [PATCH 16/16] Scope environment variable to an environment and not a channel --- terraform/49-variables/variables.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/49-variables/variables.tf b/terraform/49-variables/variables.tf index 055148754..9ebdc692c 100644 --- a/terraform/49-variables/variables.tf +++ b/terraform/49-variables/variables.tf @@ -31,7 +31,7 @@ resource "octopusdeploy_variable" "scoped_project_variable_environment" { name = "EnvironmentScopedVariable" value = "EnvironmentScopedVariable" scope { - channels = [octopusdeploy_environment.development_environment.id] + environments = [octopusdeploy_environment.development_environment.id] } }