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

AWS Network ACLs Issue Version 0.9.0 #12809

Closed
mqasim1983 opened this issue Mar 17, 2017 · 3 comments
Closed

AWS Network ACLs Issue Version 0.9.0 #12809

mqasim1983 opened this issue Mar 17, 2017 · 3 comments

Comments

@mqasim1983
Copy link

mqasim1983 commented Mar 17, 2017

Hi there,

Network ACLS not working with above-mentioned version and perfectly works fine with Terraform v0.8.8

It may be due to the following added in version 0.9.0
provider/aws: Add support for IPv6 to aws_security_group_rule (#12645)
provider/aws: Add IPv6 Support to aws_route_table (#12640)
provider/aws: Add support for IPv6 to aws_network_acl_rule (#12644)
provider/aws: Add support for IPv6 to aws_default_route_table (#12642)
provider/aws: Add support for IPv6 to aws_network_acl (#12641)
provider/aws: Add support for IPv6 in aws_route (#12639)
provider/aws: Add support for IPv6 to aws_security_group (#12655)

Affected Resource(s)

  • aws_network_acl

Sample Config perfectly working with 0.8.8 and not with 0.9.0

resource "aws_network_acl" "worker" {
vpc_id = "${var.vpc_id}"
subnet_ids = ["${aws_subnet.worker.*.id}"]

ingress {
  protocol   = -1
  rule_no    = 100
  action     = "allow"
  cidr_block = "0.0.0.0/0"
  from_port  = 0
  to_port    = 0
}

egress {
  protocol   = -1
  rule_no    = 100
  action     = "allow"
  cidr_block = "0.0.0.0/0"
  from_port  = 0
  to_port    = 0
}

tags {
    Name = "${var.name} Worker Network ACL"
}

}

Terraform Apply Sample

  • aws_network_acl.xxxx: Error creating ingress entry: InvalidParameterValue: CIDR block is malformed
    status code: 400, request id: xxxxxxxxxxxxx
  • module.network-us-east-1.aws_network_acl.public: 1 error(s) occurred:
@stack72
Copy link
Contributor

stack72 commented Mar 17, 2017

Hi @mqasim1983

Apologies for this error - we believe this has been fixed as part of #12735 and will be going out as part of Terraform 0.9.1 - coming soom:tm: to a browser near you!

Thanks

Paul

@mqasim1983
Copy link
Author

Thanks

@ghost
Copy link

ghost commented Apr 15, 2020

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.

@ghost ghost locked and limited conversation to collaborators Apr 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants