-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Acceptance tests: Check for default subnets when no subnet_id specified #13361
Closed
ewbankkit
wants to merge
3
commits into
hashicorp:master
from
ewbankkit:td-check-for-default-subnets
Closed
Acceptance tests: Check for default subnets when no subnet_id specified #13361
ewbankkit
wants to merge
3
commits into
hashicorp:master
from
ewbankkit:td-check-for-default-subnets
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ghost
added
size/M
Managed by automation to categorize the size of a PR.
needs-triage
Waiting for first response or review from a maintainer.
service/ec2
Issues and PRs that pertain to the ec2 service.
tests
PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
labels
May 15, 2020
ewbankkit
commented
May 15, 2020
This comment has been minimized.
This comment has been minimized.
ghost
added
size/L
Managed by automation to categorize the size of a PR.
and removed
size/M
Managed by automation to categorize the size of a PR.
labels
May 17, 2020
ewbankkit
commented
May 17, 2020
ewbankkit
changed the title
Acceptance tests: Check for default subnets when no subnet_id specified
[WIP] Acceptance tests: Check for default subnets when no subnet_id specified
Jun 2, 2020
ewbankkit
force-pushed
the
td-check-for-default-subnets
branch
from
June 2, 2020 13:36
22816ab
to
72bcbce
Compare
ghost
added
size/S
Managed by automation to categorize the size of a PR.
and removed
size/L
Managed by automation to categorize the size of a PR.
labels
Jun 2, 2020
ewbankkit
force-pushed
the
td-check-for-default-subnets
branch
from
June 2, 2020 13:46
72bcbce
to
63710a6
Compare
This comment has been minimized.
This comment has been minimized.
ewbankkit
force-pushed
the
td-check-for-default-subnets
branch
from
June 2, 2020 15:45
f7553b4
to
c9694fa
Compare
ghost
added
size/M
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
Jun 2, 2020
ewbankkit
commented
Jun 2, 2020
ewbankkit
changed the title
[WIP] Acceptance tests: Check for default subnets when no subnet_id specified
Acceptance tests: Check for default subnets when no subnet_id specified
Jun 22, 2020
Removed WIP. Ready for review. |
…sicOrHasDefaultVpcWithDefaultSubnets'.
… minimum set of attributes defined.
ewbankkit
force-pushed
the
td-check-for-default-subnets
branch
from
July 28, 2020 13:32
cf6408c
to
6e754f3
Compare
Changes have been incorporated into #14159. |
ewbankkit
added a commit
to ewbankkit/terraform-provider-aws
that referenced
this pull request
Aug 6, 2020
Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstanceDataSource_metadataOptions' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSInstanceDataSource_metadataOptions -timeout 120m === RUN TestAccAWSInstanceDataSource_metadataOptions === PAUSE TestAccAWSInstanceDataSource_metadataOptions === CONT TestAccAWSInstanceDataSource_metadataOptions --- PASS: TestAccAWSInstanceDataSource_metadataOptions (108.64s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 108.691s $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_metadataOptions' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSInstance_metadataOptions -timeout 120m === RUN TestAccAWSInstance_metadataOptions === PAUSE TestAccAWSInstance_metadataOptions === CONT TestAccAWSInstance_metadataOptions --- PASS: TestAccAWSInstance_metadataOptions (111.01s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 111.055s $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSInstance_basic' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSInstance_basic -timeout 120m === RUN TestAccAWSInstance_basic === PAUSE TestAccAWSInstance_basic === CONT TestAccAWSInstance_basic --- PASS: TestAccAWSInstance_basic (75.67s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 75.781s
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
locked and limited conversation to collaborators
Aug 28, 2020
breathingdust
removed
the
needs-triage
Waiting for first response or review from a maintainer.
label
Sep 17, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
service/ec2
Issues and PRs that pertain to the ec2 service.
size/M
Managed by automation to categorize the size of a PR.
tests
PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Community Note
Relates #13260.
Relates #11126.
Add a "PreCheck" for default subnets in a default VPC for test cases where an instance is launched without specifying a
subnet_id
.Release note for CHANGELOG:
Output from acceptance testing:
Without the additional
PreCheck
the Default VPC but no default subnets case errors out: