mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-12 16:00:25 -04:00
773 B
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".