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
I've tried to create selectel_dbaas_prometheus_metric_token_v1. It's created successfully - it visible in database monitoring section in dashboard with correct name and value. But selectel_dbaas_prometheus_metric_token_v1.prometheus_token.value contains empty value. Also each subsequent execute of terraform apply try update token name.
selectel_dbaas_prometheus_metric_token_v1.prometheus_token.value return created token value
token name not updated on each terraform apply
Actual Behavior
selectel_dbaas_prometheus_metric_token_v1.prometheus_token.value returns empty value
token name updated on each terraform apply
Debug output
On first terraform apply
...
selectel_dbaas_prometheus_metric_token_v1.prometheus_token: Creating...
2024-12-24T16:33:51.951+0700 [INFO] Starting apply for selectel_dbaas_prometheus_metric_token_v1.prometheus_token
2024-12-24T16:33:51.951+0700 [DEBUG] selectel_dbaas_prometheus_metric_token_v1.prometheus_token: applying the planned Create change
2024-12-24T16:33:53.073+0700 [INFO] provider.terraform-provider-selectel_v6.0.1: 2024/12/24 16:33:53 [DEBUG] Creating prometheus-metric-token with options: {Name:test_token}: timestamp="2024-12-24T16:33:53.073+0700"
2024-12-24T16:33:53.537+0700 [INFO] provider.terraform-provider-selectel_v6.0.1: 2024/12/24 16:33:53 [DEBUG] Getting prometheus-metric-token '<sensitive value>': timestamp="2024-12-24T16:33:53.537+0700"
2024-12-24T16:33:53.691+0700 [WARN] Provider "provider[\"registry.terraform.io/selectel/selectel\"]" produced an unexpected new value for selectel_dbaas_prometheus_metric_token_v1.prometheus_token, but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .name: was cty.StringVal("test_token"), but now cty.StringVal("")
selectel_dbaas_prometheus_metric_token_v1.prometheus_token: Creation complete after 2s [id=<sensitive value>]
...
Steps to Reproduce
terraform apply - token created, but returns empty value
terraform apply - token try to update token name
The text was updated successfully, but these errors were encountered:
I've tried to create
selectel_dbaas_prometheus_metric_token_v1
. It's created successfully - it visible in databasemonitoring
section in dashboard with correct name and value. Butselectel_dbaas_prometheus_metric_token_v1.prometheus_token.value
contains empty value. Also each subsequent execute ofterraform apply
try update token name.Terraform Version
Terraform v1.10.1
Terraform Provider Selectel Version
6.0.1
Affected Resource(s)
selectel_dbaas_prometheus_metric_token_v1
Terraform Configuration Files
Expected Behavior
selectel_dbaas_prometheus_metric_token_v1.prometheus_token.value
return created token valueterraform apply
Actual Behavior
selectel_dbaas_prometheus_metric_token_v1.prometheus_token.value
returns empty valueterraform apply
Debug output
On first
terraform apply
Steps to Reproduce
terraform apply
- token created, but returns empty valueterraform apply
- token try to update token nameThe text was updated successfully, but these errors were encountered: