I'm going crazy trying to implement InstanceRootBl...
# getting-started
b
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:
Copy code
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
C# isn't my language unfortunately, trying to find someone else with more expertise there
b
Oh gosh I forgot the Args! It's just
Copy code
Pulumi.Aws.Ec2.Inputs.InstanceRootBlockDeviceArgs
AGH!
👍 1
b
😄