https://pulumi.com logo
Title
s

salmon-hairdresser-65532

11/14/2022, 4:32 PM
Hey there, Using the
awsx.ec2.Vpc
with disabled default providers, I always get the error
Default provider for 'awsx' disabled. 'awsx:ec2:DefaultVpc' must use an explicit provider.
although I defined an explicit provider for the resource. An extremely simple example to reproduce the error (default providers are disabled in the config):
import pulumi
import pulumi_aws as aws
import pulumi_awsx as awsx

west = aws.Provider("provider", region="us-east-1")

awsx.ec2.Vpc("vpc", opts=pulumi.ResourceOptions(provider=west))
Does anyone have the same problem or know a solution? @elegant-window-55250
e

elegant-window-55250

11/14/2022, 5:59 PM
@billowy-army-68599 do you know what can cause this?
b

billowy-army-68599

11/14/2022, 6:00 PM
i don’t, can you file an issue?
g

glamorous-answer-86536

11/16/2022, 4:10 PM
There is an issue already: https://github.com/pulumi/pulumi-awsx/issues/930 @billowy-army-68599 Is a new release planned so this gets fixxed? We won't be able to use
awsx
otherwise
b

billowy-army-68599

11/16/2022, 4:14 PM
we have a release planned soon, I’m not sure if that issue will get resolved in it
g

glamorous-answer-86536

11/16/2022, 4:16 PM
Is there an ETA of that release? And could you check if that will be resolved in that release? We might need to switch to classic then unfortunately.
Do I understand correctly that Python support has been added in the beta release and is not part of 0.40.0?
b

billowy-army-68599

11/16/2022, 4:17 PM
Do I understand correctly that Python support has been added in the beta release and is not part of 0.40.0?
yes
Is there an ETA of that release? And could you check if that will be resolved in that release? We might need to switch to classic then unfortunately.
it’ll be before the EOM
g

glamorous-answer-86536

11/16/2022, 4:19 PM
Thanks!
Has the support for using the classic provider with awsx resources been removed? This is shown in the above issue but I am getting an error and previously an error: warning:
Provider map key awsx disagrees with associated provider aws. Key will be ignored.