straight-crayon-4578
05/03/2022, 8:00 PM__main__.py
for one project? eg.: pulumi up file.py
?billowy-army-68599
__main__.py
- are you want to break your code into distinct files?straight-crayon-4578
05/03/2022, 8:04 PMimport
feature and now there is lots of variables hardcoded,
I went something like a main file for prod and another for dev...billowy-army-68599
straight-crayon-4578
05/03/2022, 8:09 PMcontainer = aws.ecs.TaskDefinition("Foo",
...
task_role_arn="arn:aws:iam::393964450433:role/ECSTaskRole-123",
...)
my_task_role_arn = pulumi.Config('foo').get('bar')
container = aws.ecs.TaskDefinition("Foo",
...
task_role_arn=my_task_role_arn,
...)
billowy-army-68599
pulumi config set task_role_arn <foo>
straight-crayon-4578
05/03/2022, 8:12 PM