generated from hashicorp/terraform-provider-scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 50
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
hcp_group with no description results in error #841
Labels
bug
Something isn't working
Comments
squaresurf
added a commit
that referenced
this issue
May 21, 2024
Why: * When an hcp_group description is not configured in a Terraform file, then Terraform returns an error about the state's value of null not matching the provider's return value of "". This change addresses the need by: * Add failing test for hcpi_group description not being configured. * Fix test by configuring the hcp_group description attribute to be computed. Fixes #841
3 tasks
squaresurf
added a commit
that referenced
this issue
May 21, 2024
Why: * When an hcp_group description is not configured in a Terraform file, then Terraform returns an error about the state's value of null not matching the provider's return value of "". This change addresses the need by: * Add failing test for hcpi_group description not being configured. * Fix test by configuring the hcp_group description attribute to be computed. Fixes #841
squaresurf
added a commit
that referenced
this issue
May 21, 2024
Why: * When an hcp_group description is not configured in a Terraform file, then Terraform returns an error about the state's value of null not matching the provider's return value of "". This change addresses the need by: * Add failing test for hcpi_group description not being configured. * Fix test by configuring the hcp_group description attribute to be computed. Fixes #841
I have tested this with the new |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Terraform Version and Provider Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/squaresurf/72fa9f78c2308c543e0438a464b2a480
Panic Output
It does not panic.
Steps to Reproduce
terraform apply
Expected Behavior
State should be saved after creating the group.
Actual Behavior
An error regarding inconsistent state is output and state is not saved after group is created in HCP.
Important Factoids
No.
Community Note
The text was updated successfully, but these errors were encountered: