mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-16 01:00:22 -04:00
This is a requirement for enabling CloudWatch Logging on Kinesis Firehost % make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSCloudWatchLogStream_' ==> Checking that code complies with gofmt requirements... go generate $(go list ./... | grep -v /terraform/vendor/) 2016/09/02 16:19:14 Generated command/internal_plugin_list.go TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSCloudWatchLogStream_ -timeout 120m === RUN TestAccAWSCloudWatchLogStream_basic --- PASS: TestAccAWSCloudWatchLogStream_basic (22.31s) === RUN TestAccAWSCloudWatchLogStream_disappears --- PASS: TestAccAWSCloudWatchLogStream_disappears (21.21s) PASS ok github.com/hashicorp/terraform/builtin/providers/aws 43.538s
915 B
915 B
layout, page_title, sidebar_current, description
| layout | page_title | sidebar_current | description |
|---|---|---|---|
| aws | AWS: aws_cloudwatch_log_stream | docs-aws-resource-cloudwatch-log-stream | Provides a CloudWatch Log Stream resource. |
aws_cloudwatch_log_stream
Provides a CloudWatch Log Stream resource.
Example Usage
resource "aws_cloudwatch_log_group" "yada" {
name = "Yada"
}
resource "aws_cloudwatch_log_stream" "foo" {
name = "SampleLogStream1234"
log_group_name = "${aws_cloudwatch_log_group.yada.name}"
}
Argument Reference
The following arguments are supported:
name- (Required) The name of the log stream. Must not be longer than 512 characters and must not contain:log_group_name- (Required) The name of the log group under which the log stream is to be created.
Attributes Reference
The following attributes are exported:
arn- The Amazon Resource Name (ARN) specifying the log stream.