broad-hairdresser-1495
04/01/2021, 12:02 PMpulumi import aws:ebs/volume:Volume id vol-049df61146c4d7901
Previewing import (aws_import):
Type Name Plan Info
pulumi:pulumi:Stack aws_import-aws_import 1 error
= └─ aws:ebs:Volume id import 3 errors
Diagnostics:
pulumi:pulumi:Stack (aws_import-aws_import):
error: preview failed
aws:ebs:Volume (id):
error: aws:ebs/volume:Volume resource 'id' has a problem: AtLeastOne: "size": one of `size,snapshot_id` must be specified. Examine values at 'Volume.Size'.
error: aws:ebs/volume:Volume resource 'id' has a problem: AtLeastOne: "snapshot_id": one of `size,snapshot_id` must be specified. Examine values at 'Volume.SnapshotId'.
error: Preview failed: one or more inputs failed to validate
is there another way of importing ebs volumes and manage them?
used this guide:
https://www.pulumi.com/docs/reference/pkg/aws/ebs/volume/#importbrave-planet-10645
04/01/2021, 12:35 PMbroad-hairdresser-1495
04/01/2021, 1:02 PM