mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-13 01:00:50 -04:00
1.2 KiB
1.2 KiB
layout, page_title, sidebar_current, description
| layout | page_title | sidebar_current | description |
|---|---|---|---|
| aws | AWS: aws_opsworks_permission | docs-aws-resource-opsworks-permission | Provides an OpsWorks permission resource. |
aws_opsworks_permission
Provides an OpsWorks permission resource.
Example Usage
resource "aws_opsworks_permission" "my_stack_permission" {
allow_ssh = true
allow_sudo = true
level = "iam_only"
user_arn = "${aws_iam_user.user.arn}"
stack_id = "${aws_opsworks_stack.stack.id}"
}
Argument Reference
The following arguments are supported:
allow_ssh- (Optional) Whether the user is allowed to use SSH to communicate with the instanceallow_sudo- (Optional) Whether the user is allowed to use sudo to elevate privilegesuser_arn- (Required) The user's IAM ARN to set permissions forlevel- (Optional) The users permission level. Mus be one ofdeny,show,deploy,manage,iam_onlystack_id- (Required) The stack to set the permissions for
Attributes Reference
The following attributes are exported:
id- The computed id of the permission. Please note that this is only used internally to identify the permission. This value is not used in aws.