How is the launch configuration defined?
# general
s
How is the launch configuration defined?
w
@high-jackal-29091 sounds like you are using
awsx
. I believe that library does currently include some defaults that are probably not appropriate here which may be causing this problem - you could pass
rootBlockDevice: null
and
ebsBlockDevices: null
to
new awsx.autoscaling.AutoScalingLaunchConfiguration
to avoid getting those defaults - does that solve this? If so - fixing this is part of https://github.com/pulumi/pulumi-awsx/issues/340 - please do upvote that one.
h
Hey Luke, unfortunately I cannot do it in typescipt
Type 'null' is not assignable to type 'LaunchConfigurationRootBlockDevice | Promise<LaunchConfigurationRootBlockDevice> | OutputInstance<LaunchConfigurationRootBlockDevice> | undefined'.
I can try with undefined though
This solved my problem:
rootBlockDevice: {
                
volumeSize: 275,
                
volumeType: "gp2",
            
},
Thank you very much Luke
w
Great - definitely something we need to fix the defaults on - but glad it was possible to get working.