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

Same CIDR can't be use in tgw route table #71

Closed
1 task done
seanlok opened this issue Mar 31, 2022 · 3 comments
Closed
1 task done

Same CIDR can't be use in tgw route table #71

seanlok opened this issue Mar 31, 2022 · 3 comments
Labels

Comments

@seanlok
Copy link

seanlok commented Mar 31, 2022

Description

Please provide a clear and concise description of the issue you are encountering, and a reproduction of your configuration (see the examples/* directory for references that you can copy+paste and tailor to match your configs if you are unable to copy your exact configuration). The reproduction MUST be executable by running terraform init && terraform apply without any further changes.

If your request is for a new feature, please use the Feature request template.

  • ✋ I have searched the open/closed issues and my issue is not listed.

⚠️ Note

Before you submit an issue, please perform the following first:

  1. Remove the local .terraform directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!): rm -rf .terraform/
  2. Re-initialize the project root to pull down modules: terraform init
  3. Re-attempt your terraform plan or apply and check if the issue still persists

Versions

  • Module version [Required]:

  • Terraform version:
    0.14.4

  • Provider version(s):
    4.4.0

Reproduction Code [Required]

within tgw module:

  vpc_attachments = {
    456_vpc = {
      vpc_id       = 456
      subnet_ids   =789
      dns_support  = true
      ipv6_support = false

      tgw_routes = [
        {
          destination_cidr_block = "10.0.0.0/16"
        }
      ]
    }
    123_vpc = {
      vpc_id       = 123
      subnet_ids   = 456
      dns_support  = true
      ipv6_support = false

      tgw_routes = [
        {
          destination_cidr_block = "10.0.0.0/16"
        }
      ]
    }
  }

Steps to reproduce the behavior:

use the same cidr for destination block between two vpc, the route entry will be keep flip each time you plan and apply.

Expected behavior

Two unique entry in tgw route table.

Actual behavior

The route entry in tgw keep flip between 2 entry

Terminal Output Screenshot(s)

Additional context

@github-actions
Copy link

github-actions bot commented May 1, 2022

This issue has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this issue will be closed in 10 days

@github-actions github-actions bot added the stale label May 1, 2022
@github-actions
Copy link

This issue was automatically closed because of stale in 10 days

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant