From 867eb7d26d0668846bd9ea58f0eac6b3801f2065 Mon Sep 17 00:00:00 2001 From: BobJWalker Date: Tue, 4 Jan 2022 17:26:20 -0600 Subject: [PATCH] switching over to space id --- octopus-samples-instances/terraform/main.tf | 2 +- octopus-samples-instances/terraform/terraform.tfvars | 2 +- octopus-samples-instances/terraform/variables.tf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/octopus-samples-instances/terraform/main.tf b/octopus-samples-instances/terraform/main.tf index 4dad39a..42f9018 100644 --- a/octopus-samples-instances/terraform/main.tf +++ b/octopus-samples-instances/terraform/main.tf @@ -11,7 +11,7 @@ provider "octopusdeploy" { # configuration options address = var.octopus_address api_key = var.octopus_api_key - space_name = var.octopus_space_name + space_id = var.octopus_space_id } resource "octopusdeploy_feed" "github" { diff --git a/octopus-samples-instances/terraform/terraform.tfvars b/octopus-samples-instances/terraform/terraform.tfvars index c0d1a00..1eb59d6 100644 --- a/octopus-samples-instances/terraform/terraform.tfvars +++ b/octopus-samples-instances/terraform/terraform.tfvars @@ -1,4 +1,4 @@ octopus_address = "#{Project.Octopus.Address}" octopus_api_key = "#{Project.Api.Key}" -octopus_space_name = "#{Project.Space.Name}" +octopus_space_id = "#{Project.Space.Id}" octopus_github_username = "#{Project.Github.Username}" \ No newline at end of file diff --git a/octopus-samples-instances/terraform/variables.tf b/octopus-samples-instances/terraform/variables.tf index 1850827..5006c46 100644 --- a/octopus-samples-instances/terraform/variables.tf +++ b/octopus-samples-instances/terraform/variables.tf @@ -6,7 +6,7 @@ variable "octopus_api_key" { type = string } -variable "octopus_space_name" { +variable "octopus_space_id" { type = string }