Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For the resources which should be replaced in place you see no changes in output #26

Open
kevit opened this issue Feb 7, 2023 · 1 comment
Labels
question Further information is requested

Comments

@kevit
Copy link

kevit commented Feb 7, 2023

Imagine a situation when you want to add one more record in route table as below

# aws_default_route_table.main will be updated in-place
  ~ resource "aws_default_route_table" "main" {
        id                     = "rtb-048986295f3176afa"
      ~ route                  = [
          + {
              + cidr_block                 = "192.168.0.0/24"
              + core_network_arn           = ""
              + destination_prefix_list_id = ""
              + egress_only_gateway_id     = ""
              + gateway_id                 = ""
              + instance_id                = ""
              + ipv6_cidr_block            = ""
              + nat_gateway_id             = ""
              + network_interface_id       = "eni-0eb25aad6ca3e44bf"
              + transit_gateway_id         = ""
              + vpc_endpoint_id            = ""
              + vpc_peering_connection_id  = ""
            },/0"
              + core_network_arn           = ""
              + destination_prefix_list_id = ""
              + egress_only_gateway_id     = ""
              + gateway_id                 = ""
              + instance_id                = ""
              + ipv6_cidr_block            = ""
              + nat_gateway_id             = "igw-0eb25ccd5ca0e25bf"
              + network_interface_id       = ""
              + transit_gateway_id         = ""
              + vpc_endpoint_id            = ""
              + vpc_peering_connection_id  = ""
            },
          + {
              + cidr_block                 = "0.0.0.0/0"
              + core_network_arn           = ""
              + destination_prefix_list_id = ""
              + egress_only_gateway_id     = ""
              + gateway_id                 = ""
              + instance_id                = ""
              + ipv6_cidr_block            = ""
              + nat_gateway_id             = "igw-0eb25ccd5ca0e25bc"
              + network_interface_id       = ""
              + transit_gateway_id         = ""
              + vpc_endpoint_id            = ""
              + vpc_peering_connection_id  = ""
            },
          - {
              - cidr_block                 = "0.0.0.0/0"
              - core_network_arn           = ""
              - destination_prefix_list_id = ""
              - egress_only_gateway_id     = ""
              - gateway_id                 = "igw-0eb25ccd5ca0e25bc"
              - instance_id                = ""
              - ipv6_cidr_block            = ""
              - nat_gateway_id             = ""
              - network_interface_id       = ""
              - transit_gateway_id         = ""
              - vpc_endpoint_id            = ""
              - vpc_peering_connection_id  = ""
            },
        ]

tf-summarize marked only that resource is updated, but not mentioned that new records(or changed records) took place

Expected behaviour: list of changed records

@dineshba
Copy link
Owner

dineshba commented Feb 9, 2023

Could you please provide the current tf-summarize output for the above terraform plan?

@dineshba dineshba added the question Further information is requested label Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants