terraform { required_providers { harbor = { source = "goharbor/harbor" version = "~> 3.0" # Use the latest version available } } } provider "harbor" { url = "https://your-harbor-instance-url" username = var.harbor_username password = var.harbor_password # Alternatively, you can use a bearer token: # bearer_token = var.harbor_token # If you're using a self-signed certificate, you might need: # insecure = true }