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_vpc secondary cidr block #3403

Closed
benrobinsonsonos opened this issue Feb 15, 2018 · 4 comments
Closed

aws_vpc secondary cidr block #3403

benrobinsonsonos opened this issue Feb 15, 2018 · 4 comments
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/ec2 Issues and PRs that pertain to the ec2 service.
Milestone

Comments

@benrobinsonsonos
Copy link

Affected Resource(s)

  • aws_vpc

Terraform Configuration Files

resource "aws_vpc" "vpc" {
  cidr_block = "10.0.0.0/16"
  secondary_cidr_blocks = ["10.2.0.0/16"]
}

Expected Behavior

Attach secondary CIDR block to VPC.

Actual Behavior

secondary_cidr_blocks is not a supported argument for resource aws_vpc.

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. terraform apply

Important Factoids

AWS announced support for secondary cidr blocks in August 2017. Argument should accept a list of cidr blocks.

References

https://aws.amazon.com/about-aws/whats-new/2017/08/amazon-virtual-private-cloud-vpc-now-allows-customers-to-expand-their-existing-vpcs/

https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Subnets.html#vpc-resize

@ewbankkit
Copy link
Contributor

Implemented in #1568.

@bflad bflad added enhancement Requests to existing resources that expand the functionality or scope. service/ec2 Issues and PRs that pertain to the ec2 service. labels Feb 21, 2018
@bflad bflad added this to the v1.26.0 milestone Jun 29, 2018
@bflad
Copy link
Contributor

bflad commented Jun 29, 2018

A new aws_vpc_ipv4_cidr_block_association resource (instead of inline on the aws_vpc resource) has been merged into master and will be released with version 1.26.0 of the AWS provider, likely middle of next week. 🎉

@bflad bflad closed this as completed Jun 29, 2018
@Hitesh-Agrawal
Copy link

Waiting for this feature.

@ghost
Copy link

ghost commented Apr 4, 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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/ec2 Issues and PRs that pertain to the ec2 service.
Projects
None yet
Development

No branches or pull requests

4 participants