-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Error: Error getting Postgres credential when using terraform apply
.
Could not get Postgres credential with ID.
Error message
Error: Error getting Postgres credential
│
│ with dbtcloud_postgres_credential.dbt_datasets_degree_prod,
│ on dbt_datasets_degree.tf line 23, in resource "dbtcloud_postgres_credential" "dbt_datasets_degree_prod":
│ 23: resource "dbtcloud_postgres_credential" "dbt_datasets_degree_prod" {
│
│ Could not get Postgres credential with ID 1:2:
│ resource-not-found:
│ https://redacted.dbt.com/api/v3/accounts/1/projects/2/credentials/0/
After the failure tried backing out all changes and then ran into the following error:
╷
│ Warning: Resource not found
│
│ The Semantic Layer credential was not found and has been removed from the
│ state.
╵
and later
╷
│ Error: Issue getting Semantic Layer credential
│
│ Error: resource-not-found:
│ https://redacted.dbt.com/api/v3/accounts/1/semantic-layer-credentials/2
╵
Resource configuration
Added resources:
dbtcloud_semantic_layer_configuration
dbtcloud_snowflake_semantic_layer_credential
dbtcloud_semantic_layer_credential_service_token_mapping
dbtcloud_service_token
Expected behavior
A clear and concise description of what you expected to happen.
Config (please complete the following information):
( the version can be retrieved running the command terraform providers
)
- dbt Cloud provider version [e.g. 0.2.12]
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working