You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reading services is not possible, which will run in a type miss match error.
You can create a service but after this, doing a new plan will fail.
Seems like missing correct pointer creation from the generator.
Expected behavior
Being able to read the response from the API into terraform struct. Which should make terraform run as expected in a usual way without errors on this level.
Current behavior
Terraform fails with following message, after the second run, where the first run created a service:
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: Value Conversion Error
│
│ An unexpected error was encountered trying to build a value. This is always an error in the provider. Please report the following to the provider developer:
│
│ Received null value, however the target type cannot handle null values. Use the corresponding `types` package type, a pointer type or a custom type that handles null values.
│
│ Path: protocol
│ Target Type: provider.serviceRsModel_ujXZojh_ProtocolObject
│ Suggested `types` Type: basetypes.ObjectValue
│ Suggested Pointer Type: *provider.serviceRsModel_ujXZojh_ProtocolObject
Possible solution
change serviceRsModel_ujXZojh_ProtocolObject to pointer
Describe the bug
Reading services is not possible, which will run in a type miss match error.
You can create a service but after this, doing a new plan will fail.
Seems like missing correct pointer creation from the generator.
Expected behavior
Being able to read the response from the API into terraform struct. Which should make terraform run as expected in a usual way without errors on this level.
Current behavior
Terraform fails with following message, after the second run, where the first run created a service:
Possible solution
change
serviceRsModel_ujXZojh_ProtocolObject
to pointerSteps to reproduce
resource "scm_service" "default" {
... to create a serviceScreenshots
Context
I want to manage strata cloud services via terraform
Your Environment
Linux, docker
The text was updated successfully, but these errors were encountered: