Resource: aws_ebs_snapshot_import

Imports a disk image from S3 as a Snapshot.

Example Usage

resource "aws_ebs_snapshot_import" "example" {
  disk_container {
    format = "VHD"
    user_bucket {
      s3_bucket = "disk-images"
      s3_key    = "source.vhd"
    }
  }

  role_name = "disk-image-import"

  tags = {
    Name = "HelloWorld"
  }
}

Argument Reference

This resource supports the following arguments:

client_data Configuration Block

disk_container Configuration Block

user_bucket Configuration Block

Timeouts

Configuration options:

Attribute Reference

This resource exports the following attributes in addition to the arguments above: