tessellator / terraform-provider-sanity

A Terraform provider for the Sanity CMS
MIT License
0 stars 1 forks source link

Possible implementation of external studio host as a resource itself #1

Open petero-dk opened 2 weeks ago

petero-dk commented 2 weeks ago

Why would I want this: The same sanity project is used in a couple of different deployment pipelines (think staging / prod / dev) and for the Sanity project only one would be able to have the resource of the project (which i don't want) so I have linked the Sanity project as a data object in terraform.

However for my production pipeline, I would like to set the external host name as that is dependent on other resources in that pipeline.

Currently that is not possible because it is available only on the project resource.

Highlights?!?:

tessellator commented 1 week ago

Hi @petero-dk. Thanks for this PR! I haven't yet had a chance to take a look at this, but I plan to in the coming week. I appreciate your patience. :)

tessellator commented 1 week ago

I opened up #2 so we can put discussion about the problem itself in there decouple from the implementation in this PR.