brash-quill-35776
08/10/2021, 3:14 PMdev
in both project A and Bprehistoric-activity-61023
08/10/2021, 3:16 PMprehistoric-activity-61023
08/10/2021, 3:17 PMbrash-quill-35776
08/10/2021, 3:17 PMstack dev already exists
brash-quill-35776
08/10/2021, 3:18 PMlocal
and gcs
, none of them supports that feature.
With that said, seems like only pulumi service supports this feature then?prehistoric-activity-61023
08/10/2021, 3:19 PMprehistoric-activity-61023
08/10/2021, 3:20 PMbrash-quill-35776
08/10/2021, 3:21 PMprehistoric-activity-61023
08/10/2021, 3:23 PMprehistoric-activity-61023
08/10/2021, 3:23 PMpulumi new google-native-typescript --dir <DIR_NAME>
with the same stack.brash-quill-35776
08/10/2021, 3:24 PMbrash-quill-35776
08/10/2021, 3:24 PMbrash-quill-35776
08/10/2021, 3:25 PMprehistoric-activity-61023
08/10/2021, 3:27 PMprehistoric-activity-61023
08/10/2021, 3:27 PMbrash-quill-35776
08/10/2021, 3:28 PMlocal
, all stack files are placed in same folderprehistoric-activity-61023
08/10/2021, 3:28 PMexport PULUMI_BACKEND_URL=file:///tmp/tests/state
Stacks are stored directly under that directory and they do not include project name.brash-quill-35776
08/10/2021, 3:28 PMdev.json
etc.,prehistoric-activity-61023
08/10/2021, 3:28 PMprehistoric-activity-61023
08/10/2021, 3:29 PMprehistoric-activity-61023
08/10/2021, 3:29 PMprehistoric-activity-61023
08/10/2021, 3:29 PMbrash-quill-35776
08/10/2021, 3:30 PMbrash-quill-35776
08/10/2021, 3:31 PMprehistoric-activity-61023
08/10/2021, 3:34 PM<gs://my-bucket-name/my-proj>
instead of simple <gs://my-bucket-name>
).
You can dynamically change state backend via env variable: PULUMI_BACKEND_URL
. Not sure if you can store it in pulumi yaml file.brash-quill-35776
08/10/2021, 3:35 PMbrash-quill-35776
08/10/2021, 3:35 PMprehistoric-activity-61023
08/10/2021, 3:35 PMbackend
field.brash-quill-35776
08/10/2021, 3:37 PMprehistoric-activity-61023
08/10/2021, 3:37 PMbrash-quill-35776
08/10/2021, 3:37 PMbrash-quill-35776
08/10/2021, 3:37 PMprehistoric-activity-61023
08/10/2021, 3:38 PMpulumi up
.prehistoric-activity-61023
08/10/2021, 3:39 PMbrash-quill-35776
08/10/2021, 3:40 PMprehistoric-activity-61023
08/10/2021, 3:48 PMbrash-quill-35776
08/10/2021, 3:48 PMprehistoric-activity-61023
08/10/2021, 3:48 PMprehistoric-activity-61023
08/10/2021, 3:49 PMpulumi up
with some additional logic and implement simple locking mechanism (e.g. similar to what TF done in case of S3+DynamoDB).bored-oyster-3147
08/10/2021, 3:49 PMbored-oyster-3147
08/10/2021, 3:50 PMprehistoric-activity-61023
08/10/2021, 3:51 PMbrash-quill-35776
08/10/2021, 3:51 PMprehistoric-activity-61023
08/10/2021, 3:52 PMbrash-quill-35776
08/10/2021, 3:52 PMStackReference
is a requirement for my project. then in this case, I have to prefix thenbrash-quill-35776
08/10/2021, 3:52 PMprehistoric-activity-61023
08/10/2021, 3:52 PMThere was a recent merge into Pulumi that added update concurrency locking on the file state backendsI didn’t know that. Are there any docs created describing that?
bored-oyster-3147
08/10/2021, 3:59 PM