I am currently trying to create our new STACKIT project through terraform.
I created a storage bucket, a credential group and inside it some credentials.
Now I want to retrieve this information through the Data Source.
But I always get a "Error: couldn't find credential". Not sure what I am doing wrong, maybe someone can assist me.
stackit_object_storage_credentials_group.terraform-state-cg: Refreshing state... [id=5b299bc3-955f-4eb6-b982-7ef4f40d57d6]
stackit_object_storage_bucket.terraform-state: Refreshing state... [id=terraform-state-bucket]
stackit_object_storage_project.terraform-state: Refreshing state... [id=5a36f6d5-1b80-4f14-ab53-825bd0ee63af]
stackit_object_storage_credential.terraform-state-c: Refreshing state... [id=SGKH08C_V_Qm7GdzC7q_i_2VGPfcR4rg3LKzOEufoA==]
data.stackit_object_storage_credential.terraform-state-bucket-credential-output: Reading...
You can apply this plan to save these new output values to the Terraform state, without changing any real infrastructure.
╷
│ Error: couldn't find credential
│
│ with data.stackit_object_storage_credential.terraform-state-bucket-credential-output,
│ on object_storage.tf line 20, in data "stackit_object_storage_credential" "terraform-state-bucket-credential-output":
│ 20: data "stackit_object_storage_credential" "terraform-state-bucket-credential-output" {
│
│ credential could not be found
Hi :-)
I am currently trying to create our new STACKIT project through terraform. I created a storage bucket, a credential group and inside it some credentials.
Now I want to retrieve this information through the Data Source. But I always get a "Error: couldn't find credential". Not sure what I am doing wrong, maybe someone can assist me.
Plan output shows