https://pulumi.com logo
Title
b

billions-hospital-77217

12/08/2021, 1:15 AM
I'm going crazy trying to implement InstanceRootBlockDevice for EC2 and I cannot figure out the syntax to properly pass this into an EC2 Instance using C# Currently trying this:
var j = new Pulumi.Aws.Ec2.Inputs.InstanceRootBlockDevice {
            DeviceName = "SIKKA_UAT",
            VolumeType = "gp3",
            Tags = {
                { "Name", "SIKKA_UAT" },
            }
        };
But it's just not the right way to instantiate it (reference is wrong, InstanceRootBlockDevice isn't in Pulumi.Aws.Ec2.Inputs probably)
b

billowy-army-68599

12/08/2021, 1:32 AM
C# isn't my language unfortunately, trying to find someone else with more expertise there
b

billions-hospital-77217

12/08/2021, 1:40 AM
Oh gosh I forgot the Args! It's just
Pulumi.Aws.Ec2.Inputs.InstanceRootBlockDeviceArgs
AGH!
👍 1
b

billowy-army-68599

12/08/2021, 1:41 AM
😄