@@ -12,14 +12,16 @@ Provider to manage [Sumologic Data Forwarding Destination](https://help.sumologi
1212``` hcl
1313resource "sumologic_data_forwarding_destination" "example_data_forwarding_destination" {
1414 destination_name = "df-destination"
15- description = ""
15+ description = "some description "
1616 bucket_name = "df-bucket"
17- region = "us-east-1"
18- authentication_mode = "RoleBased"
19- access_key_id = "accessKeyId"
20- secret_access_key = "secretAccessKey"
21- role_arn = "arn:aws:iam::some-valid-arn"
22- encrypted = false
17+ s3_region = "us-east-1"
18+ authentication {
19+ type = "RoleBased"
20+ role_arn = "arn:aws:iam::your_arn"
21+ # access_key = "your access key"
22+ # secret_key = "your secret key"
23+ }
24+ s3_server_side_encryption = false
2325 enabled = true
2426}
2527```
@@ -30,12 +32,12 @@ The following arguments are supported:
3032- ` destination_name ` - (Required) Name of the S3 data forwarding destination.
3133- ` description ` - (Optional) Description of the S3 data forwarding destination.
3234- ` bucket_name ` - (Required) The name of the Amazon S3 bucket.
33- - ` region ` - (Optional) The region where the S3 bucket is located.
34- - ` authentication_mode ` - (Required) AWS IAM authentication method used for access. Possible values are: 1. ` AccessKey ` 2. ` RoleBased `
35- - ` access_key_id ` - (Optional) The AWS Access ID to access the S3 bucket.
36- - ` secret_access_key ` - (Optional) The AWS Secret Key to access the S3 bucket.
35+ - ` s3_region ` - (Optional) The region where the S3 bucket is located.
36+ - ` type ` - (Required) AWS IAM authentication method used for access. Possible values are: 1. ` AccessKey ` 2. ` RoleBased `
37+ - ` access_key ` - (Optional) The AWS Access ID to access the S3 bucket.
38+ - ` secret_key ` - (Optional) The AWS Secret Key to access the S3 bucket.
3739- ` role_arn ` - (Optional) The AWS Role ARN to access the S3 bucket.
38- - ` encrypted ` - (Optional) Enable S3 server-side encryption.
40+ - ` s3_server_side_encryption ` - (Optional) Enable S3 server-side encryption.
3941- ` enabled ` - (Optional) True when the data forwarding destination is enabled. Will be treated as _ false_ if left blank.
4042
4143The following attributes are exported:
0 commit comments