Cloud composer(https://cloud.google.com/composer/) which is Beta, currently does not have a terraform resource and few customers that I work with are requesting for it, so that they can provision it as IAAC.
Is anyone taking a crack at this? I'd be interested in helping, and otherwise creating a PR for it. Thoughts?
Hey @lawrenae, at this point we're mostly trying to do new resource types with Magic Modules (https://github.com/GoogleCloudPlatform/magic-modules), that way we don't have to do extra work to add or review something that we know is going to be replaced soon.
If this is a thing you absolutely need right now and it's super important, I'd review a PR for it, but if you can wait a bit, it's on my list of resources to do soon (likely within the next two weeks-ish).
oh cool -- no worries. Thanks for the update!
Assigned to modular-magician, as we're going to be generating this one in the near future, and so PRs are probably gently discouraged. If it's important to get it in ASAP and you're happy to open a PR, though, feel free to shout in this issue and we'll see about switching tack.
resource "null_resource" "composer" {
provisioner "local-exec" {
command = "gcloud beta composer environments create ${var.env-name} --location us-east1 --disk-size 20GB --zone us-east1-b --machine-type n1-standard-1 --node-count 3 --labels env=beta"
}
}
Cross referencing: https://github.com/GoogleCloudPlatform/magic-modules/issues/281
Just noting that Cloud Composer is no longer in Beta -- it's been in GA for a few weeks now. This is definitely something I wish was available in TF
We also have a Composer + Terraform requirement so +1 for this feature
@danawillow @emilymye Is there any update on when this feature may be implemented? If this Magic Modules implementation is some way off, are you open to a PR via the more traditional route? Thanks!
@nickithewatt working on this feature, expect a PR shortly :)
Fantastic, thanks @emilymye
@emilymye thanks so much for getting the PR for composer. Just checking do we have the TF for Composer PR ready?
I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!
Most helpful comment
@nickithewatt working on this feature, expect a PR shortly :)