Files
opentf/website/source/docs/providers/aws/r/ami_launch_permission.html.markdown
2017-04-17 13:17:54 +03:00

773 B

layout, page_title, sidebar_current, description
layout page_title sidebar_current description
aws AWS: aws_ami_launch_permission docs-aws-resource-ami-launch-permission Adds launch permission to Amazon Machine Image (AMI).

aws_ami_launch_permission

Adds launch permission to Amazon Machine Image (AMI) from another AWS account.

Example Usage

resource "aws_ami_launch_permission" "example" {
  image_id   = "ami-12345678"
  account_id = "123456789012"
}

Argument Reference

The following arguments are supported:

  • image_id - (required) A region-unique name for the AMI.
  • account_id - (required) An AWS Account ID to add launch permissions.

Attributes Reference

The following attributes are exported:

  • id - A combination of "image_id-account_id".