hi all! Giving <https://www.pulumi.com/blog/conver...
# general
h
hi all! Giving https://www.pulumi.com/blog/converting-full-terraform-programs-to-pulumi/ a go and facing the following issue with conversion:
Copy code
pulumi convert --from terraform --language go --out pulumi
Converting from terraform...
Downloading provider: terraform
Downloading provider: kubernetes
warning: failed to install provider "helm": could not find latest version for provider helm: 404 HTTP error fetching plugin from <https://api.github.com/repos/pulumi/pulumi-helm/releases/latest>. If this is a private GitHub repository, try providing a token via the GITHUB_TOKEN environment variable. See: <https://github.com/settings/tokens>
there are more errors after that which are related to helm provider config. Nothing fancy in providers.tf in terraform though:
Copy code
provider "kubernetes" {
  host                   = data.aws_eks_cluster.cluster.endpoint
  token                  = data.aws_eks_cluster_auth.cluster.token
  cluster_ca_certificate = base64decode(data.aws_eks_cluster.cluster.certificate_authority.0.data)
}

provider "helm" {
  kubernetes {
    host                   = data.aws_eks_cluster.cluster.endpoint
    token                  = data.aws_eks_cluster_auth.cluster.token
    cluster_ca_certificate = base64decode(data.aws_eks_cluster.cluster.certificate_authority.0.data)
  }
}
b
Would you mind filing an issue at github.com/pulumi/pulumi-terraform-bridge
the issue here is that we don’t have a bridged helm provider, you might. consider commenting that part out
e
Note that the next release should at least write expected code for that even if the provider doesn't actually exist. Means it won't compile and run but gives you the rest of the code to look at, and the option to rewrite the failing parts by hand. We can probably also remap the terraform helm provider directly to our kubernetes provider using it's helm resources: https://www.pulumi.com/registry/packages/kubernetes/api-docs/helm/v3/chart/