sparse-intern-71089
02/17/2021, 11:45 PMbillowy-army-68599
proud-hair-78501
02/17/2021, 11:46 PMbillowy-army-68599
billowy-army-68599
proud-hair-78501
02/17/2021, 11:49 PMbillowy-army-68599
brave-angle-33257
02/18/2021, 12:28 AMbrave-angle-33257
02/18/2021, 12:28 AMbrave-angle-33257
02/18/2021, 12:29 AMadd service
or refresh environment
that will execute multiple stacks in a rowbrave-angle-33257
02/18/2021, 12:31 AM{project}-{aws_account}-{environment}-{region}-{?service}
so that it's pretty easy to mix and match and programatically get stack refsbrave-angle-33257
02/18/2021, 12:31 AMbrave-angle-33257
02/18/2021, 12:33 AMimport * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
import Utils from '../../../../../shared-ts/utils/utils';
import AwsUtils from '../../../../../shared-ts/aws/utils';
var stack_info = AwsUtils._parse_environment_stack();
// dereference
const env = stack_info['env'];
const company = stack_info['company'];
const region = stack_info['region'];
const prefix = stack_info['prefix'];
const definition_data = stack_info['definition_data'];
const env_config = stack_info['env_config'];
const account_config = stack_info['account_config'];
const vpc = new pulumi.StackReference(`${company}-vpc.${region}.${env}`);
var private_subnet_ids = <pulumi.Output<string[]>>vpc.getOutput(`private_subnet_ids`);
magnificent-umbrella-1255
02/22/2021, 12:48 PM