Closed av-andrii-ievtukhov closed 2 weeks ago
Hi @av-andrii-ievtukhov this is a great suggestion, but the reason we don't have the tagPattern
on this resource today is that the upstream terraform provider only has branchPattern
(see github_repository_environment_deployment_policy | Terraform Registry).
If you file an issue against https://github.com/integrations/terraform-provider-github and get the support added there, we'll pick it up in our provider soon after it's released there.
Hi They actually have already opened issue for that. But unfortunately PR for that is still in open state. https://github.com/integrations/terraform-provider-github/pull/2165
Hey guys!
We have a repository where we have to support deployments from both branches and tags, and we are not able to find information regarding tags in pulumi documentation here - https://www.pulumi.com/registry/packages/github/api-docs/repositoryenvironmentdeploymentpolicy/.
It seems it only supports the
branchPattern
option, not thetagPattern
option.What we want to achieve:
If there is a way to do it now, or maybe add this feature -> would be great)
Thanks!