Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
mcasperson committed Jul 29, 2024
2 parents b30777f + bfe6149 commit 729528c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions internal/steps/modules/space_management/terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -505,8 +505,8 @@ resource "octopusdeploy_runbook_process" "deploy_space_aws" {
"Octopus.Action.Terraform.ManagedAccount" = "AWS"
"Octopus.Action.Aws.AssumeRole" = "False"
"OctoterraApply.Terraform.Package.Id" = jsonencode({
"PackageId" = "${replace(var.octopus_space_name, "/[^A-Za-z0-9]/", "_")}"
"FeedId" = "${data.octopusdeploy_feeds.built_in_feed.feeds[0].id}"
"PackageId" = replace(var.octopus_space_name, "/[^A-Za-z0-9]/", "_")
"FeedId" = data.octopusdeploy_feeds.built_in_feed.feeds[0].id
})
"OctoterraApply.Terraform.Workspace.Name" = "#{OctoterraApply.Octopus.SpaceID}"
"OctoterraApply.Octopus.SpaceID" = "#{Octopus.Destination.SpaceID}"
Expand All @@ -525,9 +525,9 @@ resource "octopusdeploy_runbook_process" "deploy_space_aws" {
tenant_tags = []

primary_package {
package_id = "${replace(var.octopus_space_name, "/[^A-Za-z0-9]/", "_")}"
package_id = replace(var.octopus_space_name, "/[^A-Za-z0-9]/", "_")
acquisition_location = "Server"
feed_id = "${data.octopusdeploy_feeds.built_in_feed.feeds[0].id}"
feed_id = data.octopusdeploy_feeds.built_in_feed.feeds[0].id
properties = { PackageParameterName = "OctoterraApply.Terraform.Package.Id", SelectionMode = "deferred" }
}

Expand Down Expand Up @@ -568,8 +568,8 @@ resource "octopusdeploy_runbook_process" "deploy_space_azure" {
"Octopus.Action.Terraform.AllowPluginDownloads" = "True"
"Octopus.Action.Package.DownloadOnTentacle" = "False"
"OctoterraApply.Terraform.Package.Id" = jsonencode({
"PackageId" = "${replace(var.octopus_space_name, "/[^A-Za-z0-9]/", "_")}"
"FeedId" = "${data.octopusdeploy_feeds.built_in_feed.feeds[0].id}"
"PackageId" = replace(var.octopus_space_name, "/[^A-Za-z0-9]/", "_")
"FeedId" = data.octopusdeploy_feeds.built_in_feed.feeds[0].id
})
"Octopus.Action.Terraform.Workspace" = "#{OctoterraApply.Terraform.Workspace.Name}"
"Octopus.Action.Terraform.FileSubstitution" = "**/project_variable_sensitive*.tf"
Expand Down Expand Up @@ -610,9 +610,9 @@ resource "octopusdeploy_runbook_process" "deploy_space_azure" {
tenant_tags = []

primary_package {
package_id = "${replace(var.octopus_space_name, "/[^A-Za-z0-9]/", "_")}"
package_id = replace(var.octopus_space_name, "/[^A-Za-z0-9]/", "_")
acquisition_location = "Server"
feed_id = "${data.octopusdeploy_feeds.built_in_feed.feeds[0].id}"
feed_id = data.octopusdeploy_feeds.built_in_feed.feeds[0].id
properties = { PackageParameterName = "OctoterraApply.Terraform.Package.Id", SelectionMode = "deferred" }
}

Expand Down

0 comments on commit 729528c

Please sign in to comment.