This message was deleted.
s
This message was deleted.
r
if you've specified a different 'provider' you may need to supply that provider as the configuration in the last parameter of the
get_
method. In python that might look like:
get_security_group(id=<some_sg_id>, opts=pulumi.InvokeOptions(provider=my_custom_provider))
l
Figured it out. What was happening was that in my
~/.aws/config
file, my region was set to
us-west-2
. In the auto-generated pulumi config, though, the region was set to
us-east-1
. For some reason pulumi was respecting the region from the
~/.aws/config
file when creating resources, but was using the region from the pulumi config when querying resources.