Skip to content

Commit

Permalink
Merge pull request #39 from byu-oit/reduce-noise
Browse files Browse the repository at this point in the history
Change default tags from `{}` to `null`
  • Loading branch information
joshgubler authored Oct 26, 2022
2 parents 9d8e64f + a249686 commit 673fc29
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ customized solution you may need to use this code more as a pattern or guideline

```hcl
module "my_app" {
source = "github.com/byu-oit/terraform-aws-fargate-api?ref=v5.0.0"
source = "github.com/byu-oit/terraform-aws-fargate-api?ref=v5.0.1"
app_name = "example-api"
container_port = 8000
primary_container_definition = {
Expand Down Expand Up @@ -121,7 +121,7 @@ module "my_app" {
| scaling_down_metric_alarm_config | [object](#scaling_down_metric_alarm_config) | Optional advanced configuration for scaling the down metric alarm if 'autoscaling_config' is in use." | See object definition [object](#scaling_down_metric_alarm_config) |
| log_group_name | string | CloudWatch log group name. | |
| log_retention_in_days | number | CloudWatch log group retention in days | 120 |
| tags | map(string) | A map of AWS Tags to attach to each resource created | {} |
| tags | map(string) | A map of AWS Tags to attach to each resource created | `null` |
| lb_logging_enabled | bool | Option to enable logging of load balancer requests. | false |
| lb_logging_bucket_name | string | Required if `lb_logging_enabled` is true. A bucket to store the logs in with an a [load balancer access policy](https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-access-logs.html#attach-bucket-policy) attached. | |
| fargate_platform_version | string | Version of the Fargate platform to run. | 1.4.0 |
Expand Down
2 changes: 1 addition & 1 deletion examples/logging/logging.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ data "aws_elb_service_account" "main" {}
// name = "fake-example-cluster"
//}
module "fargate_api" {
source = "github.com/byu-oit/terraform-aws-fargate-api?ref=v5.0.0"
source = "github.com/byu-oit/terraform-aws-fargate-api?ref=v5.0.1"
// source = "../../" // for local testing
app_name = "example-api"
// ecs_cluster_name = aws_ecs_cluster.existing.name
Expand Down
2 changes: 1 addition & 1 deletion examples/simple/simple.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module "acs" {
// name = "fake-example-cluster"
//}
module "fargate_api" {
source = "github.com/byu-oit/terraform-aws-fargate-api?ref=v5.0.0"
source = "github.com/byu-oit/terraform-aws-fargate-api?ref=v5.0.1"
// source = "../../" // for local testing
app_name = "example-api"
// ecs_cluster_name = aws_ecs_cluster.existing.name
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ variable "log_retention_in_days" {
variable "tags" {
type = map(string)
description = "A map of AWS Tags to attach to each resource created"
default = {}
default = null
}
variable "lb_logging_enabled" {
type = bool
Expand Down

0 comments on commit 673fc29

Please sign in to comment.