Skip to content

Commit

Permalink
feat: Upgrade cloudwatch-logs to 0.4.3 (cloudposse#345)
Browse files Browse the repository at this point in the history
* Update main.tf

* Update README.md

* Update providers.tf
  • Loading branch information
nitrocode authored and cathex-matt committed Aug 5, 2021
1 parent 583d9fc commit 83a7569
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/cloudwatch-logs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ components:
|------|--------|---------|
| <a name="module_iam_roles"></a> [iam\_roles](#module\_iam\_roles) | ../account-map/modules/iam-roles | n/a |
| <a name="module_kms_key_logs"></a> [kms\_key\_logs](#module\_kms\_key\_logs) | cloudposse/kms-key/aws | 0.10.0 |
| <a name="module_logs"></a> [logs](#module\_logs) | cloudposse/cloudwatch-logs/aws | 0.4.2 |
| <a name="module_logs"></a> [logs](#module\_logs) | cloudposse/cloudwatch-logs/aws | 0.4.3 |
| <a name="module_this"></a> [this](#module\_this) | cloudposse/label/null | 0.24.1 |
## Resources
Expand Down
2 changes: 1 addition & 1 deletion modules/cloudwatch-logs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ data "aws_caller_identity" "current" {}

module "logs" {
source = "cloudposse/cloudwatch-logs/aws"
version = "0.4.2"
version = "0.4.3"

stream_names = var.stream_names
retention_in_days = var.retention_in_days
Expand Down
7 changes: 4 additions & 3 deletions modules/cloudwatch-logs/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ provider "aws" {
# `terraform import` will not use data from a data source, so on import we have to explicitly specify the profile
profile = coalesce(var.import_profile_name, module.iam_roles.terraform_profile_name)

default_tags {
tags = module.this.tags
}
# See issue: https://github.com/hashicorp/terraform-provider-aws/issues/18311
# default_tags {
# tags = module.this.tags
# }
}

module "iam_roles" {
Expand Down

0 comments on commit 83a7569

Please sign in to comment.