Terraform provider for Data sources
complete
L
Luc Verhoeven
Data sources like Gitlab and the port-k8s-exporter currently can't be managed through code with Terraform. only using the builder page or through the API. When managing a lot of clusters and wanting to keep the exporter configuration the same or tracking changes in version control software is not possible except ny writing a custom implementation with the API.
Gur Shafriri
Merged in a post:
First-class terraform support
Stewart Southern
Currently, the terraform provider's coverage of the entire Port functionality is spotty. There are several configurations that can be made in the UI but cannot be made via terraform. I believe terraform should be considered a first-class interface, along with the UI and APIs.
Searching this roadmap reveals several of the missing features. I would also include support for data ingestion mappings to that list as something which is particularly important for our use case.
Gur Shafriri
Stewart Southern We recently made significant improvements to our IaC providers, including the mapping you mentioned and also being able to use "data sources" (from Port to Terraform) to make dynamic configurations. You can see the release notes here
We also defined terraform and IaC in general as high priority for any new feature. We hope the gaps will be smaller and smaller as time passes!
For now I am merging this with the Integration mapping feedback item - please feel free to add any additional specific gaps you find (or vote on existing)
Stewart Southern
Gur Shafriri Thanks. Looking forward to seeing all the new features having terraform support on release.
Gur Shafriri
complete
Done, you can now manage datasource configuration via terraform. Discover the new resource here.
Gur Shafriri
planned
A
Arjen de Vries
Gur Shafriri: Thanks for planning this suggestion :)
A
Arjen de Vries
Codify all the things!