Open wtfzambo opened 1 year ago
Be in a pulumi project in a git repository Create a new stack Run pulumi stack tag ls Check that vcs: tags are missing
So that's expected, we don't lookup and set the tags until we do an update. But it sounds like from your earlier description that in this new iam stack you did run up
and the tags were still missing?
you did run
up
and the tags were still missing?
Yes sorry, I forgot to add that step. I did indeed run pulumi up
, and nonetheless the tags didn't get set. I will update the description.
As a side note, I tested the same issue switching filesystem (so now the container mounts Windows files), but the same issue persists.
I thought it might be due to some UID / GID Linux shenanigans but that doesn't seem to be the case.
What happened?
Working on a pulumi project on the default stack (
dev
), I later created a new one (iam
), added some code, and then ranpulumi up
.Opening the console, I noticed that the newly created stack was missing the repo info (repo name would be
glue-on-pulumi
):Running
pulumi stack tag ls
, I notice that the new stack indeed does not have thevcs:
andgitHub:repo
tags set:Expected Behavior
I expect that new stacks created in a project under a git repo to also include the various
vcs:
andgitHub:repo
tags set.Steps to reproduce
I'm running this in a devcontainer, using Docker Desktop and WSL2 (Ubuntu 20.04) backend and filesystem.
You can find the devcontainer template here, but it's missing pulumi so it needs to be installed manually, if you decide to test using such devcontainer.
Steps:
pulumi up
pulumi stack tag ls
vcs:
tags are missingOutput of
pulumi about
Pulumi about
``` CLI Version 3.59.1 Go Version go1.20.2 Go Compiler gc Plugins NAME VERSION aws 5.33.0 python unknown Host OS amazon Version 2 Arch x86_64 This project is written in python: executable='/usr/local/bin/python3' version='3.10.2 ' Current Stack:Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).