File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change
1
+ files
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ resource "aws_autoscaling_group" "ecs" {
25
25
}
26
26
27
27
module " ecs_instance_draining_on_scale_in" {
28
- source = " github.com/terraform-community-modules/ecs-instance-draining-on-scale-in "
28
+ source = " github.com/terraform-community-modules/tf_aws_ecs_instance_draining_on_scale_in "
29
29
30
30
autoscaling_group_name = " ${aws_autoscaling_group.ecs.asg_name}"
31
31
hook_heartbeat_timeout = 1800
Original file line number Diff line number Diff line change @@ -117,6 +117,12 @@ resource "aws_lambda_function" "lambda" {
117
117
handler = " index.lambda_handler"
118
118
119
119
source_code_hash = " ${ data . archive_file . index . output_base64sha256 } "
120
+
121
+ lifecycle {
122
+ # A workaround when running this code on different machines is to ignore changes, as described here:
123
+ # https://github.com/hashicorp/terraform/issues/7613#issuecomment-241603087
124
+ ignore_changes = [" filename" ]
125
+ }
120
126
}
121
127
122
128
resource "aws_lambda_permission" "sns" {
You can’t perform that action at this time.
0 commit comments