sparse-intern-71089
08/18/2020, 12:40 PMmicroscopic-pilot-97530
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/4848early-match-56268
08/18/2020, 6:12 PMearly-match-56268
08/18/2020, 6:15 PMraw_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'))
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