handsome-xylophone-18806
03/01/2020, 11:49 AM#Pulumi.network.dev.yaml
encryptionsalt: ....
config:
aws:region: us-east-2
network:env.name: dev
#Pulumi.services.dev.yaml
encryptionsalt: ....
config:
aws:region: us-east-2
services:env.name: dev
#Pulumi.network.prod.yaml
encryptionsalt: ....
config:
aws:region: us-east-1
network:env.name: prod
#Pulumi.services.prod.yaml
encryptionsalt: ....
config:
aws:region: us-east-1
services:env.name: prod
Is this possible to extract common configurations to a file and import it when needed?
For example, I would like to have something similar to this:
#Pulumi.common.dev.yaml
encryptionsalt: ....
config:
aws:region: us-east-2
common:env.name: dev
#Pulumi.network.dev.yaml
encryptionsalt: ....
config:
aws:region: {{common.dev/aws:region}}
network:env.name: {{common.dev/common:env.name}}
Or do you have other ideas to solve this issue?ripe-garden-91306
03/01/2020, 12:21 PMechoing-breakfast-73834
03/01/2020, 4:48 PMwhite-balloon-205
echoing-breakfast-73834
03/01/2020, 5:43 PMhandsome-xylophone-18806
03/02/2020, 7:02 PMmillions-furniture-75402
05/26/2020, 5:41 PM