This is a Terraform resource for managing an AWS Verified Permissions Policy Store.
resource "aws_verifiedpermissions_policy_store" "example" {
validation_settings {
mode = "STRICT"
}
}
The following arguments are required:
validation_settings
- (Required) Validation settings for the policy store.
mode
- (Required) The mode for the validation settings. Valid values: OFF
, STRICT
.The following arguments are optional:
description
- (Optional) A description of the Policy Store.This resource exports the following attributes in addition to the arguments above:
policy_store_id
- The ID of the Policy Store.arn
- The ARN of the Policy Store.In Terraform v1.5.0 and later, use an import
block to import Verified Permissions Policy Store using the policy_store_id
. For example:
import {
to = aws_verifiedpermissions_policy_store.example
id = "DxQg2j8xvXJQ1tQCYNWj9T"
}
Using terraform import
, import Verified Permissions Policy Store using the policy_store_id
. For example:
% terraform import aws_verifiedpermissions_policy_store.example DxQg2j8xvXJQ1tQCYNWj9T