Giter VIP home page Giter VIP logo

Comments (8)

eratio08 avatar eratio08 commented on July 17, 2024 3

v2.3.2 causes a different issue now

╷
│ Error: "" is not a valid CIDR block: invalid CIDR address: 
│ 
│   with module.bastion.aws_security_group_rule.ingress_bastion[0],
│   on .terraform/modules/bastion/main.tf line 88, in resource "aws_security_group_rule" "ingress_bastion":
│   88:   ipv6_cidr_blocks = concat(data.aws_subnet.subnets.*.ipv6_cidr_block, var.ipv6_cidrs)
│ 
╵
╷
│ Error: "" is not a valid CIDR block: invalid CIDR address: 
│ 
│   with module.bastion.aws_security_group_rule.ingress_bastion[0],
│   on .terraform/modules/bastion/main.tf line 88, in resource "aws_security_group_rule" "ingress_bastion":
│   88:   ipv6_cidr_blocks = concat(data.aws_subnet.subnets.*.ipv6_cidr_block, var.ipv6_cidrs)
│ 
╵
╷
│ Error: "" is not a valid CIDR block: invalid CIDR address: 
│ 
│   with module.bastion.aws_security_group_rule.ingress_bastion[0],
│   on .terraform/modules/bastion/main.tf line 88, in resource "aws_security_group_rule" "ingress_bastion":
│   88:   ipv6_cidr_blocks = concat(data.aws_subnet.subnets.*.ipv6_cidr_block, var.ipv6_cidrs)

from terraform-aws-bastion.

Guimove avatar Guimove commented on July 17, 2024 3

Ok thanks for the notice, I didn't get this error on my test.

For the moment, please stick to the version 2.3.0

I'll try to take time to look at this asap.

from terraform-aws-bastion.

alsidneio avatar alsidneio commented on July 17, 2024 1

PR to fix ipv6 errors: #132 in version 3.0.0

from terraform-aws-bastion.

Guimove avatar Guimove commented on July 17, 2024 1

It's resolved in v3.0.1

Thanks for your support @alsidneio

from terraform-aws-bastion.

neurogamer avatar neurogamer commented on July 17, 2024

Same issue. We need 2.3.0

from terraform-aws-bastion.

Guimove avatar Guimove commented on July 17, 2024

It was a typo mistake, this will be fixed in the next patch in some minutes, sorry for the inconvenience.

from terraform-aws-bastion.

Guimove avatar Guimove commented on July 17, 2024

Please check with the version v2.3.2 (https://github.com/Guimove/terraform-aws-bastion/releases/tag/v2.3.2)

from terraform-aws-bastion.

alsidneio avatar alsidneio commented on July 17, 2024

The ipv6_cidrs throws an error on the aws_security_group_rule resource if the aws_subnet resource does not have ipv6 cidr block. The ipv6_cidr_blocks argument needs to be set to null if the concat function returns an empty string

from terraform-aws-bastion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.