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

Validate vpc cidr block #6577

Merged
merged 2 commits into from
Nov 26, 2018
Merged

Validate vpc cidr block #6577

merged 2 commits into from
Nov 26, 2018

Conversation

sunilkumarmohanty
Copy link
Contributor

Fixes #6567

Changes proposed in this pull request:

  • Validates VPC CIDR block sizes to be between 16 and 28

Test run against the validators.go

@ghost ghost added size/S Managed by automation to categorize the size of a PR. service/ec2 Issues and PRs that pertain to the ec2 service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Nov 25, 2018
@bflad bflad added the enhancement Requests to existing resources that expand the functionality or scope. label Nov 25, 2018
aws/resource_aws_vpc.go Outdated Show resolved Hide resolved
@bflad bflad added the waiting-response Maintainers are waiting on response from community or contributor. label Nov 25, 2018
@ghost ghost added size/XS Managed by automation to categorize the size of a PR. and removed size/S Managed by automation to categorize the size of a PR. labels Nov 26, 2018
@bflad bflad added this to the v1.47.0 milestone Nov 26, 2018
@bflad bflad removed the waiting-response Maintainers are waiting on response from community or contributor. label Nov 26, 2018
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @sunilkumarmohanty! 🚀

--- PASS: TestAccAWSVpc_coreMismatchedDiffs (13.35s)
--- PASS: TestAccAWSVpc_bothDnsOptionsSet (15.94s)
--- PASS: TestAccAWSVpc_DisabledDnsSupport (17.14s)
--- PASS: TestAccAWSVpc_classiclinkOptionSet (19.69s)
--- PASS: TestAccAWSVpc_classiclinkDnsSupportOptionSet (19.77s)
--- PASS: TestAccAWSVpc_update (21.66s)
--- PASS: TestAccAWSVpc_tags (23.78s)
--- PASS: TestAccAWSVpc_basic (24.14s)
--- PASS: TestAccAWSVpc_Tenancy (31.44s)
--- PASS: TestAccAWSVpc_AssignGeneratedIpv6CidrBlock (36.03s)

@bflad bflad merged commit f672ba6 into hashicorp:master Nov 26, 2018
bflad added a commit that referenced this pull request Nov 26, 2018
@bflad
Copy link
Contributor

bflad commented Nov 30, 2018

This was released (4 days ago) in version 1.47.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

@ghost
Copy link

ghost commented Apr 2, 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 2, 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. size/XS Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Terraform plan does not validate aws.vpc.cidr_block
2 participants