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

[0.30.2+] Error saving state: unsupported attribute "encrypted_value" #794

Open
seanamos opened this issue Oct 8, 2024 · 0 comments
Open
Labels
kind/bug Something isn't working

Comments

@seanamos
Copy link

seanamos commented Oct 8, 2024

Describe the bug
Since 0.3.2, when using resource targeting, if an octopusdeploy_variable is not part of the plan, the following error is produced:

 Error: Failed to save state
│ 
│ Error saving state: unsupported attribute "encrypted_value"
╵
╷
│ Error: Failed to persist state to backend

Steps to reproduce

# main.tf

resource "octopusdeploy_variable" "test" {
...
}

resource "terraform_data" "test" {
}
terraform apply -target 'terraform_data.test'

│ Error: Failed to save state
│ 
│ Error saving state: unsupported attribute "encrypted_value"
╵
╷
│ Error: Failed to persist state to backend

Expected behavior
Plan/apply should succeed with resource targeting in effect.

Environment and versions:

  • Terraform Version: 1.9.5
  • Octopus Terraform Provider Version: 0.30.7
@domenicsim1 domenicsim1 added the kind/bug Something isn't working label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants