important-waiter-94112
04/15/2025, 8:48 PMValidationException: Identifier ****** is not valid for identifier [/properties/PublicIp, /properties/AllocationId]
Do you guys have any idea how should I format the import key?high-painter-73966
04/16/2025, 1:56 PMimportant-waiter-94112
04/17/2025, 4:40 PMnew native.ec2.Eip(
`${serviceName}-MainVPCNatEIP1`,
{
tags: [
{
key: 'Name',
value: `${serviceName}-MainVPCNatEIP1`,
},
{
key: 'Service',
value: serviceName,
},
],
domain: 'vpc',
networkBorderGroup: 'us-east-1',
publicIpv4Pool: 'amazon',
},
{
ignoreChanges: ['tags', 'tagsAll'],
import: JSON.stringify({
AllocationId: 'eipalloc-xxxx',
PublicIp: 'ip_here',
}),
},
);
Besides that, I couldnt import because aws-native can't get all the properties of the Eip so I am now trying to use de Eip resource from aws package