Skip to content

v0.6.1

Compare
Choose a tag to compare
@cloudpossebot cloudpossebot released this 18 Nov 22:59
020e078
Docs: Fix usage snippet (missing source attribute) @korenyoni (#25)

what

  • Fix usage snippet (missing source attribute)
  • Fix module block name in usage snippet (does not match module name)

why

  • The usage snippet is incorrect (missing source attribute and does not match module name)

references

  • N/A

🚀 Enhancements

Allow slash in log group names @nitrocode (#26)

what

  • Custom label for cloudwatch log group name

why

  • Allow slash in log group names

references

test

provider "aws" {
  region = "us-east-2"
}

module "cloudwatch_logs" {
  source = "github.com/cloudposse/terraform-aws-cloudwatch-logs?ref=allow-slash-log-group-names"

  name = "/aws/kinesisfirehose/aws-waf-logs-dev-app"
}

results in

  # module.cloudwatch_logs.aws_cloudwatch_log_group.default[0] will be created
  + resource "aws_cloudwatch_log_group" "default" {
      + arn               = (known after apply)
      + id                = (known after apply)
      + name              = "/aws/kinesisfirehose/aws-waf-logs-dev-app"
      + retention_in_days = 30
      + tags              = {
          + "Name" = "/aws/kinesisfirehose/aws-waf-logs-dev-app"
        }
      + tags_all          = {
          + "Name" = "/aws/kinesisfirehose/aws-waf-logs-dev-app"
        }
    }