On this page
aws_emr_security_configuration
Provides a resource to manage AWS EMR Security Configurations
Example Usage
resource "aws_emr_security_configuration" "foo" {
name = "emrsc_other"
configuration = <<EOF
{
"EncryptionConfiguration": {
"AtRestEncryptionConfiguration": {
"S3EncryptionConfiguration": {
"EncryptionMode": "SSE-S3"
},
"LocalDiskEncryptionConfiguration": {
"EncryptionKeyProviderType": "AwsKms",
"AwsKmsKey": "arn:aws:kms:us-west-2:187416307283:alias/tf_emr_test_key"
}
},
"EnableInTransitEncryption": false,
"EnableAtRestEncryption": true
}
}
EOF
}
Argument Reference
The following arguments are supported:
name
- (Optional) The name of the EMR Security Configuration. By default generated by Terraform.name_prefix
- (Optional) Creates a unique name beginning with the specified prefix. Conflicts withname
.configuration
- (Required) A JSON formatted Security Configuration
Attributes Reference
In addition to all arguments above, the following attributes are exported:
id
- The ID of the EMR Security Configuration (Same as thename
)name
- The Name of the EMR Security Configurationconfiguration
- The JSON formatted Security Configurationcreation_date
- Date the Security Configuration was created
Import
EMR Security Configurations can be imported using the name
, e.g.
$ terraform import aws_emr_security_configuraiton.sc example-sc-name
© 2018 HashiCorp
Licensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/aws/r/emr_security_configuration.html