https://pulumi.com logo
Title
b

busy-lion-51883

03/18/2022, 12:45 PM
tldr issue: stacks created via codebuild are not tagged with github/vcs tags _________________________ more detail: I am using the following pulumi cli commands in my codebuild buildspec:
- pulumi stack select -c -s <my fully qualified stack name>
- pulumi up -s <my fully qualified stack name> --skip-preview --yes
if the stack doesn’t exist yet, it is successfully created (due to the -c flag in the stack select). But the correct vcs and github tags are not created. In particular it looks I should expect the following to be set:
gitHub:owner
gitHub:repo
vcs:kind
vcs:owner
vcs:repo
I have found a work around by manually adding these tags after the
pulumi up
, but is there something I can do to have these tags auto generated?
l

little-cartoon-10569

03/18/2022, 8:10 PM
The tags don't seem to be added under most circumstances. I don't know how my colleagues create their stacks, but I haven't ever had the tags applied automatically. I always add them every time I create a stack.
:thank-you: 1