Bring your Terraform to Crossplane

Поділитися
Вставка
  • Опубліковано 20 жов 2024

КОМЕНТАРІ • 1

  • @silviomsilva
    @silviomsilva 3 роки тому +1

    Great content! Thank you both for that! I followed the steps from the video and make the same example works but I note that the Terraform Version used by Crossplane Experimental Terraform Provider is 1.0.1 (checking the contents of Terraform State) even when I set the "required_version = ">= 1.0.5, < 2.0.0" block on Terraform Code.
    I have an use case that we'll need to support multiple Terraform versions for some time and, because of that, we're packaging the Terraform Code + Terraform Binary + Modules into a Container Image and running it using Pipelines while we work on the update in smaller pieces.
    I'd like to know if is there a way to accomplish that using Crossplane?
    I see that a Workspace Kind is used to reference a Terraform Module or Inline Terraform Code but, if it could be possible to tell to Crossplane to only execute our customized Container Images with some Environment Variables and get the Terraform Outputs from there (it could be as text plain or json format).
    Maybe we need to create a Provider for that? I'll be grateful if you could give any thoughts about it.