gavinbunney / terraform-provider-kubectl

Terraform provider to handle raw kubernetes manifest yaml files
https://registry.terraform.io/providers/gavinbunney/kubectl
Mozilla Public License 2.0
619 stars 105 forks source link

using datasource based on raw github content #157

Closed chrisadkin closed 2 years ago

chrisadkin commented 2 years ago

Is I use raw github content, obviously something containing a YAML manifest as input to your provider for the YAML body, is there any reason why this would not work ?, I will test this for myself, but I was just wondering . . .

gavinbunney commented 2 years ago

The provider just needs the yaml_body string set - so you could fetch the raw github content via a http provider, then feed in the output of that into the kubectl_manifest resource