Hi! I have a problem with aws:ec2/routeTableAssoci...
# aws
a
Hi! I have a problem with awsec2/routeTableAssociationRouteTableAssociation resource. When I imported as
pulumi import aws:ec2/routeTableAssociation:RouteTableAssociation assoc subnet-6777656e646f6c796e/rtb-656c65616e6f72
, next message appears:
Copy code
error: aws:ec2/routeTableAssociation:RouteTableAssociation resource 'myasoci' has a problem: ExactlyOne: "gateway_id": one of `gateway_id,subnet_id` must be specified. Examine values at 'RouteTableAssociation.GatewayId'.
    error: aws:ec2/routeTableAssociation:RouteTableAssociation resource 'myasoci' has a problem: ExactlyOne: "subnet_id": one of `gateway_id,subnet_id` must be specified. Examine values at 'RouteTableAssociation.SubnetId'.
    error: Preview failed: one or more inputs failed to validate
👀 2