broad-hairdresser-1495
03/08/2021, 12:15 PMpulumi import aws:ec2/instance:Instance myInstanceName i-0ba17989210ad396a
Import works fine but, it looks like one config is missing from import, networkInterfaces: []
Due to when running pulumi up
networkInterfaces are in pulumi console.
but now im getting this issue with imported resource:
>pumuli up
+-aws:ec2/instance:Instance: (replace)
[id=i-0bdc3124xxxx]
[urn=urn:pulumi:ob-server83::local_proj::aws:ec2/instance:Instance::aws2-eu1tst-rhtestsuppdb002]
[provider=urn:pulumi:ob-server83::local_proj::pulumi:providers:aws::default_3_30_0::9807bxxx]
~ networkInterfaces: [
+ [0]: {
+ deleteOnTermination: false
+ deviceIndex : 0
+ networkInterfaceId : "eni-021d47151dexxx"
}
]
-----------------
--aws:ec2/instance:Instance: (delete-replaced)
[id=i-0bdc3124xxxx]
[urn=urn:pulumi:ob-server83::local_proj::aws:ec2/instance:Instance::aws2-eu1tst-rhtestsuppdb002]
[provider=urn:pulumi:ob-server83::local_proj::pulumi:providers:aws::default_3_30_0::9807bxxxx]
diff between pulumi up
and pulumi import
in console:
is it possible to add manually config in stack so that when running pulumi up
it wont have this networkInterfaces diff?No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by