famous-bear-66383
03/30/2020, 11:04 AMtsconfig.json
with one index.ts containing resource definitions.
{
"compilerOptions": {
"strict": true,
"outDir": "bin",
"target": "es2016",
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
"experimentalDecorators": true,
"pretty": true,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.ts"
]
}
Say if I want to split the resources in index.ts
into several files. like service1.ts
service2.ts
and so on .
{
"compilerOptions": {
"strict": true,
"outDir": "bin",
"target": "es2016",
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
"experimentalDecorators": true,
"pretty": true,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"service1.ts",
"service2.ts"
]
}
Currently pulumi complains about this seperation, Iβll look for index.ts
and fails if itβs not found.
Thanks πacceptable-stone-35112
03/30/2020, 11:08 AMacceptable-stone-35112
03/30/2020, 11:13 AMacceptable-stone-35112
03/30/2020, 11:18 AMastonishing-tiger-81216
03/30/2020, 11:24 AMpulumi stack config set whatever:value
Where is the value stored and how do you get to it? I typically Store this in the stack yamls
i.e. Pulumi.dev.yaml
config:
whatever: value
astonishing-tiger-81216
03/30/2020, 11:25 AMancient-artist-24300
04/08/2020, 10:58 AMbreezy-hamburger-69619
04/10/2020, 12:36 AMgreen-morning-1318
04/10/2020, 1:53 AMstraight-ambulance-41107
04/10/2020, 1:58 AMwhite-balloon-205
04/10/2020, 2:00 AMbreezy-hamburger-69619
04/16/2020, 6:16 PMfuture-barista-68134
06/02/2020, 2:19 PMwhite-balloon-205
07/08/2020, 8:53 PMjolly-noon-71678
09/04/2020, 12:32 AMnice-grass-53151
11/16/2020, 4:54 PMrich-television-43773
12/04/2020, 8:04 AMtall-librarian-49374
12/04/2020, 8:21 AMbillowy-army-68599
12/04/2020, 4:25 PMsilly-queen-76790
01/26/2021, 5:03 PMsilly-queen-76790
02/24/2021, 6:54 PMsilly-queen-76790
02/24/2021, 6:59 PMbillowy-army-68599
02/24/2021, 7:11 PMloud-helicopter-75345
02/25/2021, 2:14 PMall
and apply
over simple string interpolation of the already fetched values.billowy-army-68599
02/25/2021, 6:09 PMbillowy-army-68599
02/25/2021, 6:09 PMbrave-planet-10645
08/11/2021, 10:07 AMcuddly-lion-92829
08/11/2021, 4:13 PMmagnificent-boots-19230
08/12/2021, 4:50 PMcuddly-lion-92829
08/24/2021, 9:59 PMcuddly-lion-92829
08/24/2021, 9:59 PM