early-keyboard-4138810/19/2021, 9:19 AM
(trying to understand it). I’m using S3 as backend (everything in one bucket), ideally a folder for each project (micro services setup: infra, app, services, etc). With this I saw two options: 1. Every pulumi project in same folder -> each stack needs to have project name in it (eg,
), or they will collide (dev, in two different projects, in same folder in S3). 2. Every project in different folders -> stack can be named with just the environment (
) In case 1, I did
, and it ends with error:
Apparently it gets the stack_reference but it fails to deploy. My assumption is because it’s empty data or failing in some level with those refs. Also tried
aws:lambda:Function (lambda_name): error: 1 error occurred: * error creating Lambda Function (1): ValidationException: status code: 400, request id: 6dab7a4b-c6cc-4ebc-8a46-cb14060d50f2
, but got the error:
If I wanted to use the case 2, everything in different folders, how do you reference to the other stack? Any help is more than welcome.
error: Preview failed: unknown stack "project_name/infra.dev"
great-sunset-35510/19/2021, 12:57 PM
early-keyboard-4138810/19/2021, 2:13 PM
is not defined. Or do you know how to get it? Also, with different paths (folders within the same bucket), tried to reference as
. But got
, or something of the sort.
great-sunset-35510/19/2021, 2:16 PM
regardless of the project with S3 Here is a reference to the same stack but from a completely different directory https://github.com/mitodl/ol-infrastructure/blob/f42b329df70b4ec7c59295e0e011100a61775472/src/ol_infrastructure/applications/concourse/__main__.py#L40
early-keyboard-4138810/19/2021, 2:39 PM
little-cartoon-1056910/19/2021, 8:11 PM
early-keyboard-4138810/20/2021, 5:44 AM