Skip to content

Commit

Permalink
- vpc-remove-defaults
Browse files Browse the repository at this point in the history
  - add `enable_network_address_usage_metrics = false` due to new feature, not existing in govcloud
  - [link](https://aws.amazon.com/about-aws/whats-new/2022/10/amazon-virtual-private-cloud-vpc-now-supports-new-cloudwatch-metrics-measure-track-network-address-usage/)
  • Loading branch information
badra001 committed Oct 31, 2022
1 parent 526f06a commit b2ca5ba
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,3 +235,9 @@
- s3-flow-logs
- change encryption to AES256 from aws:kms (no default for log delivery)
- update policy according to docs: https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs-s3.html

* 2.2.5 -- 2022-10-31
- vpc-remove-defaults
- add `enable_network_address_usage_metrics = false` due to new feature, not existing in govcloud
- [link](https://aws.amazon.com/about-aws/whats-new/2022/10/amazon-virtual-private-cloud-vpc-now-supports-new-cloudwatch-metrics-measure-track-network-address-usage/)

2 changes: 1 addition & 1 deletion common/version.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
locals {
_module_version = "2.2.4"
_module_version = "2.2.5"
}
1 change: 1 addition & 0 deletions vpc-remove-defaults/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ No modules.
| [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |
| [aws_internet_gateway.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/internet_gateway) | data source |
| [aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region) | data source |
| [aws_regions.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/regions) | data source |

## Inputs

Expand Down
1 change: 1 addition & 0 deletions vpc-remove-defaults/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ resource "aws_default_vpc" "default" {
local.base_tags,
tomap({ Name = format("default-vpc-%s", local.vpc_title) }),
)
enable_network_address_usage_metrics = false
lifecycle {
ignore_changes = [tags["boc:tf_module_version"]]
}
Expand Down

0 comments on commit b2ca5ba

Please sign in to comment.