Skip to content

Commit c3c0bbb

Browse files
committed
Fix changes for terraform plan for non terraform managed attributes
1 parent bd3271e commit c3c0bbb

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

examples/default/providers.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
provider "aws" {
22
region = local.aws_region
3-
version = "2.59"
3+
version = "2.61"
44
}
55

modules/webhook/main.tf

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ resource "aws_apigatewayv2_stage" "webhook" {
1818
lifecycle {
1919
ignore_changes = [
2020
// see bug https://github.com/terraform-providers/terraform-provider-aws/issues/12893
21-
default_route_settings
21+
default_route_settings,
22+
// not terraform managed
23+
deployment_id
2224
]
2325
}
2426

@@ -29,6 +31,13 @@ resource "aws_apigatewayv2_stage" "webhook" {
2931
}
3032

3133
resource "aws_apigatewayv2_integration" "webhook" {
34+
lifecycle {
35+
ignore_changes = [
36+
// not terraform managed
37+
passthrough_behavior
38+
]
39+
}
40+
3241
api_id = aws_apigatewayv2_api.webhook.id
3342
integration_type = "AWS_PROXY"
3443

0 commit comments

Comments
 (0)