You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| <aname="input_alert_manager_definition"></a> [alert\_manager\_definition](#input\_alert\_manager\_definition)| The alert manager definition that you want to be applied. See more in the [AWS Docs](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-alert-manager.html)|`string`| `"alertmanager_config: |\n route:\n receiver: 'default'\n receivers:\n - name: 'default'\n"` | no |
87
+
| <aname="input_cloudwatch_log_group_class"></a> [cloudwatch\_log\_group\_class](#input\_cloudwatch\_log\_group\_class)| Specified the log class of the log group. Possible values are: `STANDARD` or `INFREQUENT_ACCESS`|`string`|`null`| no |
88
+
| <aname="input_cloudwatch_log_group_kms_key_id"></a> [cloudwatch\_log\_group\_kms\_key\_id](#input\_cloudwatch\_log\_group\_kms\_key\_id)| If a KMS Key ARN is set, this key will be used to encrypt the corresponding log group. Please be sure that the KMS Key has an appropriate key policy (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/encrypt-log-data-kms.html)|`string`|`null`| no |
89
+
| <aname="input_cloudwatch_log_group_name"></a> [cloudwatch\_log\_group\_name](#input\_cloudwatch\_log\_group\_name)| Custom name of CloudWatch log group for a service associated with the container definition |`string`|`null`| no |
90
+
| <aname="input_cloudwatch_log_group_retention_in_days"></a> [cloudwatch\_log\_group\_retention\_in\_days](#input\_cloudwatch\_log\_group\_retention\_in\_days)| Number of days to retain log events. Set to `0` to keep logs indefinitely |`number`|`30`| no |
91
+
| <aname="input_cloudwatch_log_group_use_name_prefix"></a> [cloudwatch\_log\_group\_use\_name\_prefix](#input\_cloudwatch\_log\_group\_use\_name\_prefix)| Determines whether the log group name should be used as a prefix |`bool`|`false`| no |
86
92
| <aname="input_create"></a> [create](#input\_create)| Determines whether a resources will be created |`bool`|`true`| no |
87
93
| <aname="input_create_alert_manager"></a> [create\_alert\_manager](#input\_create\_alert\_manager)| Controls whether an Alert Manager definition is created along with the AMP workspace |`bool`|`true`| no |
88
94
| <aname="input_create_workspace"></a> [create\_workspace](#input\_create\_workspace)| Determines whether a workspace will be created or to use an existing workspace |`bool`|`true`| no |
89
95
| <aname="input_kms_key_arn"></a> [kms\_key\_arn](#input\_kms\_key\_arn)| The ARN of the KMS Key to for encryption at rest |`string`|`null`| no |
90
-
| <aname="input_logging_configuration"></a> [logging\_configuration](#input\_logging\_configuration)| The logging configuration of the prometheus workspace. |`map(string)`|`{}`| no |
91
-
| <aname="input_rule_group_namespaces"></a> [rule\_group\_namespaces](#input\_rule\_group\_namespaces)| A map of one or more rule group namespace definitions |`map(any)`|`{}`| no |
96
+
| <aname="input_logging_configuration"></a> [logging\_configuration](#input\_logging\_configuration)| The logging configuration of the prometheus workspace. | <pre>object({<br/> create_log_group = optional(bool, true)<br/> logging_configuration = optional(string)<br/> })</pre> |`null`| no |
97
+
| <aname="input_region"></a> [region](#input\_region)| Region where the resource(s) will be managed. Defaults to the Region set in the provider configuration |`string`|`null`| no |
98
+
| <aname="input_rule_group_namespaces"></a> [rule\_group\_namespaces](#input\_rule\_group\_namespaces)| A map of one or more rule group namespace definitions | <pre>map(object({<br/> name = string<br/> data = string<br/> }))</pre> |`null`| no |
92
99
| <aname="input_tags"></a> [tags](#input\_tags)| A map of tags to add to all resources |`map(string)`|`{}`| no |
93
100
| <aname="input_workspace_alias"></a> [workspace\_alias](#input\_workspace\_alias)| The alias of the prometheus workspace. See more in the [AWS Docs](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-onboard-create-workspace.html)|`string`|`null`| no |
94
101
| <aname="input_workspace_id"></a> [workspace\_id](#input\_workspace\_id)| The ID of an existing workspace to use when `create_workspace` is `false`|`string`|`""`| no |
Copy file name to clipboardExpand all lines: examples/complete/README.md
+7-11Lines changed: 7 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,9 +11,9 @@ Configuration in this directory creates:
11
11
To run this example you need to execute:
12
12
13
13
```bash
14
-
$ terraform init
15
-
$ terraform plan
16
-
$ terraform apply
14
+
terraform init
15
+
terraform plan
16
+
terraform apply
17
17
```
18
18
19
19
Note that this example may create resources which will incur monetary charges on your AWS bill. Run `terraform destroy` when you no longer need these resources.
@@ -23,14 +23,12 @@ Note that this example may create resources which will incur monetary charges on
description="Number of days to retain log events. Set to `0` to keep logs indefinitely"
80
+
type=number
81
+
default=30
82
+
}
83
+
84
+
variable"cloudwatch_log_group_kms_key_id" {
85
+
description="If a KMS Key ARN is set, this key will be used to encrypt the corresponding log group. Please be sure that the KMS Key has an appropriate key policy (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/encrypt-log-data-kms.html)"
0 commit comments