Provides a Synthetics Group resource.
resource "aws_synthetics_group" "example" {
name = "example"
}
The following arguments are required:
name
- (Required) Name of the group.The following arguments are optional:
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:
arn
- ARN of the Group.group_id
- ID of the Group.tags_all
- A map of tags assigned to the resource, including those inherited from the provider default_tags
configuration block.In Terraform v1.5.0 and later, use an import
block to import CloudWatch Synthetics Group using the name
. For example:
import {
to = aws_synthetics_group.example
id = "example"
}
Using terraform import
, import CloudWatch Synthetics Group using the name
. For example:
% terraform import aws_synthetics_group.example example