https://pulumi.com logo
#aws
Title
s

sparse-state-34229

05/14/2020, 7:47 PM
the spot instance request object should have an attribute
spot_instance_id
that you can use
b

best-receptionist-98400

05/14/2020, 8:04 PM
Probably a dumb question, but how do I update/modify an EC2 instance once it's been created from the spot request?
Copy code
var resultingInstance = Output.Create(GetInstance.InvokeAsync(new GetInstanceArgs
        {
            InstanceId = ResultingInstanceId.ToString()
        }));
This is what I was trying to GET the resulting instance, but how do I update it? If I do a
new Instance
request, the first parameter it expects is the name...which I don't have lol
s

sparse-state-34229

05/14/2020, 8:12 PM
you may have to do it directly with boto