With the automation api, can I set a project to be...
# general
f
With the automation api, can I set a project to be one within an organization ? I have a devops user which is part of the organization and I setup the automation arguments as :
Copy code
const stackArgs: InlineProgramArgs = {
      stackName: 'some name',
      projectName: "org/project",
      program: inlineProgram,
    };
However, when executing this i get
error: could not create stack: provided project name "org-project" doesn't match Pulumi.yaml
. However, there's no
pulumi.yaml
file within the folder I run this so I'm a bit confused. everything works fine if i don't use the
org
but that creates the project within the devops user environment. Any ideas ?
That's because it's not
org/project
as project name. Instead it should be
stackName: 'org/stack'
and the projectName should stay the same