Terraform resource for managing a Verified Access Group.
resource "aws_verifiedaccess_group" "example" {
verifiedaccess_instance_id = aws_verifiedaccess_instance.example.id
}
resource "aws_kms_key" "test_key" {
description = "KMS key for Verified Access Group test"
}
resource "aws_verifiedaccess_group" "test" {
verifiedaccess_instance_id = aws_verifiedaccess_instance_trust_provider_attachment.test.verifiedaccess_instance_id
server_side_encryption_configuration {
kms_key_arn = aws_kms_key.test_key.arn
}
}
The following arguments are required:
verifiedaccess_instance_id
- (Required) The id of the verified access instance this group is associated with.The following arguments are optional:
description
- (Optional) Description of the verified access group.policy_document
- (Optional) The policy document that is associated with this resource.sse_configuration
- (Optional) Configuration block to use KMS keys for server-side encryption.
cmk_enabled
- (Optional) Boolean flag to indicate that the CMK should be used.kms_key_arn
- (Optional) ARN of the KMS key to use.tags
- (Optional) Key-value mapping of resource tags. If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.This resource exports the following attributes in addition to the arguments above:
creation_time
- Timestamp when the access group was created.deletion_time
- Timestamp when the access group was deleted.last_updated_time
- Timestamp when the access group was last updated.owner
- AWS account number owning this resource.verifiedaccess_group_arn
- ARN of this verified acess group.verifiedaccess_group_id
- ID of this verified access group.create
- (Default 60m
)update
- (Default 180m
)delete
- (Default 90m
)