This message was deleted.
# python
s
This message was deleted.
m
The plugins are installed as part of installing the Python packages. So when you run
pip install pulumi-aws
, it runs `pulumi plugin install resource aws <version>`: https://github.com/pulumi/pulumi-aws/blob/5f6f8530bb8881ac88eed302c22299018aa39e81/sdk/python/setup.py#L11-L26 Before running an update, the engine will attempt to avoid missing plugins by scanning the most recent prior update’s snapshot to determine what plugin versions were used, and then install those plugins before running the update. (I am guessing this is why it is installing 2.4.0 rather than 2.4.3.) The engine also asks the language host for required plugins, and it will install those, but it’s a best effort as not all of the language hosts implement this, which is the case for Python. Luckily, we’re planning to address this soon: https://github.com/pulumi/pulumi/issues/4848
e
I see thanks for the info. I never had any issues before but the pulumi-aws plugin updated to the next version and started throwing this: https://github.com/pulumi/pulumi-aws/issues/1075. Trying to figure out a way to pin the version
nvm found it
Copy code
raw_aws_config = Config('aws')
aws_provider = AwsProvider(
    'aws-east',
    access_key=raw_aws_config.require('accessKey'),
    secret_key=raw_aws_config.require('secretKey'),
    region='us-east-1',
    opts=ResourceOptions(version='2.13.1'))