Closed salyh closed 3 months ago
Looks like the "state":
attribute is missing in the returned json?
According to the API (https://api.ionos.com/docs/logging/v1/#tag/Pipelines/operation/pipelinesFindById) there should be such a state field.
Internal ticket ref 207171757
For me it looks like it should be json:"status,omitempty"
instead of json:"state,omitempty"
to match "status": "AVAILABLE"
Hello! I will investigate this. Is it a long time between you noticing that the pipeline is AVAILABLE
vs Terraform notifying you that the creation was successful? Maybe there is a small difference because of the ways in which the refresh calls are done in this function that basically handles the wait for resource to become "AVAILABLE"
logic.
Hello! I will investigate this. Is it a long time between you noticing that the pipeline is
AVAILABLE
vs Terraform notifying you that the creation was successful?
Terraform never notifies me that the creation was successful!
Maybe there is a small difference because of the ways in which the refresh calls are done in this function that basically handles the
wait for resource to become "AVAILABLE"
logic.
I think its a bug like descibed here https://github.com/ionos-cloud/sdk-go-logging/issues/3#issue-2367778000
@salyh thank you for the clarification, I will take a look.
Hi, we have an issue opened with the logging team. Will be fixed asap.
Fixed, should work now. It was the state/status field, thanks for the help.
Description
I try to create a logging pipeline via terraform.
After 8 minutes its still creating:
ionoscloud_logging_pipeline.xxx: Still creating... [8m1s elapsed]
but when I query the status via ionosctl the logging pipeline appears ready (see screenshot)
Expected behavior
Terraform realise when logging pipeline is ready and continues to create other resources or exists with status code 0
Environment
Terraform version:
Provider version:
OS: