nutritious-shampoo-16116
07/06/2021, 1:38 PMecs_target_groups = [
{'arn': target_group_4004.arn, 'port': target_group_4004.port},
{'arn': target_group_443.arn, 'port': target_group_443.port},
]
pulumi.export('ecs_target_groups', ecs_target_groups)
But this code is giving me null for the two resources already exported previously
ecs_target_groups = [
{'arn': target_group_4004.arn, 'port': target_group_4004.port},
{'arn': target_group_443.arn, 'port': target_group_443.port},
]
temp_ecs_target_groups = [
{'arn': target_group_4004.arn, 'port': target_group_4004.port},
{'arn': target_group_443.arn, 'port': target_group_443.port},
{'arn': target_group_4000.arn, 'port': target_group_4000.port},
]
pulumi.export('ecs_target_groups', ecs_target_groups)
pulumi.export('temp_ecs_target_groups', temp_ecs_target_groups)