-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
Co-authored-by: Robert Nesbit <[email protected]>
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -109,4 +109,10 @@ variable "event_target_ecs_target_assign_public_ip" { | |
description = "(Optional) Assign a public IP address to the ENI. Default false." | ||
type = bool | ||
default = false | ||
} | ||
} | ||
|
||
variable "event_target_ecs_target_propagate_tags" { | ||
description = "(Optional) Specifies whether to propagate the tags from the task definition to the task. If no value is specified, the tags are not propagated." | ||
type = bool | ||
This comment has been minimized.
Sorry, something went wrong. |
||
default = false | ||
This comment has been minimized.
Sorry, something went wrong.
evilr00t
|
||
} |
4 comments
on commit 2e96de1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π° Infracost estimate: monthly cost will increase by $146 π
Project | Previous | New | Diff |
cn-terraform/terraform-aws-ecs-...e-scheduled-task/examples/test | $0 | $146 | +$146 |
Infracost output
Project: cn-terraform/terraform-aws-ecs-fargate-scheduled-task/examples/test
+ module.base-network.aws_eip.nat_eip[0]
+$3.65
+ IP address (if unused)
+$3.65
+ module.base-network.aws_eip.nat_eip[1]
+$3.65
+ IP address (if unused)
+$3.65
+ module.base-network.aws_eip.nat_eip[2]
+$3.65
+ IP address (if unused)
+$3.65
+ module.base-network.aws_eip.nat_eip[3]
+$3.65
+ IP address (if unused)
+$3.65
+ module.base-network.aws_nat_gateway.nat_gw[0]
+$32.85
+ NAT gateway
+$32.85
+ Data processed
Monthly cost depends on usage
+$0.045 per GB
+ module.base-network.aws_nat_gateway.nat_gw[1]
+$32.85
+ NAT gateway
+$32.85
+ Data processed
Monthly cost depends on usage
+$0.045 per GB
+ module.base-network.aws_nat_gateway.nat_gw[2]
+$32.85
+ NAT gateway
+$32.85
+ Data processed
Monthly cost depends on usage
+$0.045 per GB
+ module.base-network.aws_nat_gateway.nat_gw[3]
+$32.85
+ NAT gateway
+$32.85
+ Data processed
Monthly cost depends on usage
+$0.045 per GB
Monthly cost change for cn-terraform/terraform-aws-ecs-fargate-scheduled-task/examples/test
Amount: +$146 ($0.00 β $146)
ββββββββββββββββββββββββββββββββββ
Key: ~ changed, + added, - removed
50 cloud resources were detected, rerun with --show-skipped to see details:
β 8 were estimated, 4 include usage-based costs, see https://infracost.io/usage-file
β 42 were free
Add cost estimates to your pull requests: https://infracost.io/cicd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π° Infracost estimate: monthly cost will increase by $146 π
Project | Previous | New | Diff |
cn-terraform/terraform-aws-ecs-...e-scheduled-task/examples/test | $0 | $146 | +$146 |
Infracost output
Project: cn-terraform/terraform-aws-ecs-fargate-scheduled-task/examples/test
+ module.base-network.aws_eip.nat_eip[0]
+$3.65
+ IP address (if unused)
+$3.65
+ module.base-network.aws_eip.nat_eip[1]
+$3.65
+ IP address (if unused)
+$3.65
+ module.base-network.aws_eip.nat_eip[2]
+$3.65
+ IP address (if unused)
+$3.65
+ module.base-network.aws_eip.nat_eip[3]
+$3.65
+ IP address (if unused)
+$3.65
+ module.base-network.aws_nat_gateway.nat_gw[0]
+$32.85
+ NAT gateway
+$32.85
+ Data processed
Monthly cost depends on usage
+$0.045 per GB
+ module.base-network.aws_nat_gateway.nat_gw[1]
+$32.85
+ NAT gateway
+$32.85
+ Data processed
Monthly cost depends on usage
+$0.045 per GB
+ module.base-network.aws_nat_gateway.nat_gw[2]
+$32.85
+ NAT gateway
+$32.85
+ Data processed
Monthly cost depends on usage
+$0.045 per GB
+ module.base-network.aws_nat_gateway.nat_gw[3]
+$32.85
+ NAT gateway
+$32.85
+ Data processed
Monthly cost depends on usage
+$0.045 per GB
Monthly cost change for cn-terraform/terraform-aws-ecs-fargate-scheduled-task/examples/test
Amount: +$146 ($0.00 β $146)
ββββββββββββββββββββββββββββββββββ
Key: ~ changed, + added, - removed
50 cloud resources were detected, rerun with --show-skipped to see details:
β 8 were estimated, 4 include usage-based costs, see https://infracost.io/usage-file
β 42 were free
Add cost estimates to your pull requests: https://infracost.io/cicd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this introduces regression:
β·
β Error: expected ecs_target.0.propagate_tags to be one of [TASK_DEFINITION], got false
β
β with module.us-east-1.module.scheduled_task.aws_cloudwatch_event_target.ecs_scheduled_task,
β on .terraform/modules/us-east-1.scheduled_task/main.tf line 72, in resource "aws_cloudwatch_event_target" "ecs_scheduled_task":
β 72: propagate_tags = var.event_target_ecs_target_propagate_tags
β
quick fix:
event_target_ecs_target_propagate_tags = null
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
event_target_ecs_target_propagate_tags = null
β Error: Invalid value for input variable
β
β The environment variable TF_VAR_event_target_ecs_target_propagate_tags does
β not contain a valid value for variable
β "event_target_ecs_target_propagate_tags": a bool is required.
should be
string