Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: correct space id support for creating variables #772

Merged
merged 2 commits into from
Sep 2, 2024

Conversation

benPearce1
Copy link
Collaborator

fixes #771

before:

Plan: 1 to add, 0 to change, 0 to destroy.
octopusdeploy_variable.string: Creating...
╷
│ Error: create variable failed
│ 
│   with octopusdeploy_variable.string,
│   on main.tf line 31, in resource "octopusdeploy_variable" "string":
│   31: resource "octopusdeploy_variable" "string" {
│ 
│ Octopus API error: Resource is not found or it doesn't exist in the current space context. Please contact your administrator for more information. [] 

after:

Plan: 1 to add, 0 to change, 0 to destroy.
octopusdeploy_variable.string: Creating...
octopusdeploy_variable.string: Creation complete after 0s [id=9e0fcce6-1fe3-4fe3-a8ab-7455247be95d]

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

Copy link
Collaborator

@IsaacCalligeros95 IsaacCalligeros95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@benPearce1 benPearce1 merged commit 7e1d38b into main Sep 2, 2024
22 checks passed
@benPearce1 benPearce1 deleted the bp/variable-spaceid-fix branch September 2, 2024 07:01
Copy link
Contributor

@hnrkndrssn hnrkndrssn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SpaceId on octopusdeploy_variable resource is not honoured during create
3 participants