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

Tech debt: Add acceptance test PreCheck for attached Internet Gateway #13537

Closed
ewbankkit opened this issue May 28, 2020 · 4 comments
Closed
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/rds Issues and PRs that pertain to the rds service. service/redshift Issues and PRs that pertain to the redshift service.

Comments

@ewbankkit
Copy link
Contributor

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Certain resources (e.g. public Redshift clusters and RDS database instances) require an Internet Gateway to be associated with a VPC.
Add an acceptance test PreCheck function to skip relevant tests if this pre-condition is not met, rather than allowing the tests to fail.

New or Affected Resource(s)

  • aws_redshift_cluster
  • aws_db_instance
  • ...

References

Related:

@ewbankkit ewbankkit added the enhancement Requests to existing resources that expand the functionality or scope. label May 28, 2020
@ghost ghost added service/rds Issues and PRs that pertain to the rds service. service/redshift Issues and PRs that pertain to the redshift service. labels May 28, 2020
@ewbankkit ewbankkit changed the title Tech debt: Add acceptance test PreCheck for Internet Gateway Tech debt: Add acceptance test PreCheck for attached Internet Gateway May 28, 2020
@bflad
Copy link
Contributor

bflad commented May 28, 2020

I think in these cases we should prefer to create a new VPC with the correct networking infrastructure as part of the test configuration, rather than trying to check/work with potentially shared infrastructure.

@ewbankkit
Copy link
Contributor Author

Yes, agree that wherever possible the tests should be hermetic. The same applies to #13260.
I'll see if there are any cases where we really are testing public access via a default VPC.

@ewbankkit
Copy link
Contributor Author

I'm going to close this one and roll it into solutions for #13260.

@ghost
Copy link

ghost commented Jul 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 Jul 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/rds Issues and PRs that pertain to the rds service. service/redshift Issues and PRs that pertain to the redshift service.
Projects
None yet
Development

No branches or pull requests

2 participants