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

the module does not pay attention to local_ipv4_network_cidr and and remote_ipv4_network_cidr changes. #101

Open
yardenasadosa opened this issue Oct 31, 2024 · 0 comments

Comments

@yardenasadosa
Copy link

Description

for the parameters: local_ipv4_network_cidr and and remote_ipv4_network_cidr
the default values are 0.0.0.0/0
I changed it manually to a specific CIDRs on AWS console, and the terraform plan shows no changes.
I removed the state: terraform state rm module.vpn_gateway.aws_vpn_connection.default[0]
I imported the state: terraform import module.vpn_gateway.aws_vpn_connection.default[0] vpn-***
and no changes.
I added the changes to the code just to have it as a code.
local_ipv4_network_cidr = ""
remote_ipv4_network_cidr = "
"
no changes is expected in that case.

Versions

Module version:
module "vpn_gateway" {
source = "terraform-aws-modules/vpn-gateway/aws"
version = "~>3"

Terraform version:
Terraform v1.9.8

Provider version(s):
provider "registry.terraform.io/hashicorp/aws" {
version = "4.67.0"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant