Hi, I've run into a issue creating a stack and it ...
# getting-started
r
Hi, I've run into a issue creating a stack and it seems like the documentation/cli aren't aligned:
Copy code
The stack name is specified in one of the following formats:

stackName: Identifies the stack stackName in the current user account or default organization, and the project specified by the nearest Pulumi.yaml project file.
orgName/stackName: Identifies the stack stackName in the organization orgName, and the project specified by the nearest Pulumi.yaml project file.
orgName/projectName/stackName: Identifies the stack stackName in the organization orgName and the project projectName. projectName must match the project specified by the nearest Pulumi.yaml project file.
However when I try to create a new stack following the
orgName/projectName/StackName
syntax I get the following error:
Copy code
geoff@geoffs-mbp db % pulumi stack init
stack name: (dev) organization/db/poc
Sorry, 'organization/db/poc' is not a valid stack name. stack names are limited to 100 characters and may only contain alphanumeric, hyphens, underscores, or periods: "organization/db/poc"
b
could you open an issue for this, it’s a bug which I thnink may be related to a recent change
which cli version are you using, and which state backend?
r
Copy code
geoff@geoffs-mbp db % pulumi version
v3.62.0
local state right now
b
yeah that’s a bug, please file an issue
r
Got a quick response, looks like I need to clear out my old stacks first to take advantage of the project scoped stacks introduced in 3.62. Glad I caught this early. Incase anyone else stumbles upon this thread here's the response: https://github.com/pulumi/pulumi/issues/12633#issuecomment-1502201974
123 Views