https://pulumi.com logo
#getting-started
Title
# getting-started
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:
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

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
Copy code
Pulumi.Aws.Ec2.Inputs.InstanceRootBlockDeviceArgs
AGH!
👍 1
b

billowy-army-68599

12/08/2021, 1:41 AM
😄
11 Views