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
Trying to import an existing key attached to the service in question:
$ cf service-key fac-terraform-state fac-terraform-state-access --guid
3da2a5d0-2fd7-4e3a-a0c2-5773a885b082
$ terraform import cloudfoundry_service_key.bucket_creds 3da2a5d0-2fd7-4e3a-a0c2-5773a885b082
module.s3.data.cloudfoundry_service.s3: Reading...
module.s3.data.cloudfoundry_space.space: Reading...
module.s3.data.cloudfoundry_space.space: Read complete after 0s [id=5593dba8-7023-49a5-bdbe-e809fe23edf9]
module.s3.data.cloudfoundry_service.s3: Read complete after 1s [id=440ce9d9-b108-4bbe-80b4-08338f3cc25b]
cloudfoundry_service_key.bucket_creds: Importing from ID "3da2a5d0-2fd7-4e3a-a0c2-5773a885b082"...
╷
│ Error: The provider returned a resource missing an identifier during ImportResourceState. This is generally a bug in the resource implementation for import. Resource import code should not call d.SetId("") or create an empty ResourceData. If the resource is missing, instead return an error. Please report this to the provider developers.
│
│
The text was updated successfully, but these errors were encountered:
Terraform code:
Trying to import an existing key attached to the service in question:
The text was updated successfully, but these errors were encountered: