sparse-intern-71089
11/27/2022, 12:51 PMrhythmic-branch-12845
11/28/2022, 1:45 AMpulumi.Config() for aws:regionfuture-france-34957
11/28/2022, 2:07 PMpulumi_aws also:
# Set Region
aws_region = str(pulumi_aws.get_region().name)rhythmic-branch-12845
11/28/2022, 3:05 PMpulumi_aws.get_region() as an input to another resource. But now I see that there's also .get_region_output as well, which may work for what I need the region string for. I'm afk right now, but will definitely try this when i get backfuture-france-34957
11/28/2022, 4:56 PMrhythmic-branch-12845
11/28/2022, 7:52 PMpulumi_aws.get_region().name. The crucial bit that was missing for me was the .name 🤦♂️
It looks from https://www.pulumi.com/registry/packages/aws/api-docs/getregion/ that .name is already a `str`; you shouldnt need to str(...) it