github.com/vtorhonen/terraform@v0.9.0-beta2.0.20170307220345-5d894e4ffda7/website/source/docs/providers/aws/r/ami_launch_permission.html.markdown (about) 1 --- 2 layout: "aws" 3 page_title: "AWS: aws_ami_launch_permission" 4 sidebar_current: "docs-aws-resource-ami-launch-permission" 5 description: |- 6 Adds launch permission to Amazon Machine Image (AMI). 7 --- 8 9 # aws\_ami\_launch\_permission 10 11 Adds launch permission to Amazon Machine Image (AMI) from another AWS account. 12 13 ## Example Usage 14 15 ``` 16 resource "aws_ami_launch_permission" "example" { 17 image_id = "ami-12345678" 18 account_id = "123456789012" 19 } 20 ``` 21 22 ## Argument Reference 23 24 The following arguments are supported: 25 26 * `image_id` - (required) A region-unique name for the AMI. 27 * `account_id` - (required) An AWS Account ID to add launch permissions. 28 29 ## Attributes Reference 30 31 The following attributes are exported: 32 33 * `id` - A combination of "`image_id`-`account_id`".