Closed lekaf974 closed 1 month ago
@AndreasZeissner created this issue and send a PR if it make sense
Hi @lekaf974,
thanks for pointing that out. The examples are meant to be used with a local build of the terraform provider which you can do by running make clean build install
and then e.g. make e2e
.
It is a bit inconvenient at the moment, I agree. Please use the USE PROVIDER
button here https://registry.terraform.io/providers/wundergraph/cosmo/latest to get the latest published version.
terraform {
required_providers {
cosmo = {
source = "wundergraph/cosmo"
version = "0.0.2"
}
}
}
provider "cosmo" {
# Configuration options
}
You might open a PR for sure, I would just want these workflows to still exist as it's pretty handy during development. Apart from that I would have a look into making it more convenient in the future.
the only think to do is to ensure that terraform.local
is just removed from examples and documentation when it is released on terraform right ?
for example https://registry.terraform.io/providers/wundergraph/cosmo/latest/docs
Hi,
@mevrin-ueat yes indeed. But at time of generating it's not yet clear which version the next one is. The tagging happens during release. The terraform.local
is only used to reference the local plugin store.
have a look here:
I moved the provider into an extra file which will avoid that it's rendered and only the resource is present. I would say this does the job and keeps maintenance and confusion low.
Closing PR created
@lekaf974 @mevrin-ueat,
I recently released version 0.1.0:
Things are way cleaner now.
Following the tutorial
examples/provider
(release v0.0.2)The terraform init command is not working properly