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)
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by