Giter VIP home page Giter VIP logo

Comments (5)

WesWWagner avatar WesWWagner commented on July 18, 2024 1

I would suggest the logic should be:
use explicit VPC is a variable is set
use default VPC if it exists
create a vpc if neither

from deployment-automation.

gene-redpanda avatar gene-redpanda commented on July 18, 2024

We now support default vpc and provided vpc. I am leery of adding vpc creation as I feel that oversteps our boundary. Would appreciate thoughts.

from deployment-automation.

vuldin avatar vuldin commented on July 18, 2024

The issue that prompted me to create this ticket was that I had no default VPC. Maybe I deleted it for some reason, but I think it didn't exist by default in my sandbox account. For people in this same situation they would be unable to use the default settings of this project.

If we don't want to create a VPC for whatever reason without the user being explicit about it, then another approach could be to require the user to provide VPC details?

from deployment-automation.

gene-redpanda avatar gene-redpanda commented on July 18, 2024

Our current default action is to use the default VPC. If the user provides a VPC ID we build with that. I don't see a real need to force the user to create a VPC if they have a default one (which people do use... although they shouldn't) and haven't changed the necessary variables to add their own VPC into the module?

#147

from deployment-automation.

twmb avatar twmb commented on July 18, 2024

Summarizing (lmk if I'm incorrect):

  • The original issue is specific to the default VPC: if the default VPC does not exist and you try to use it with Ansible, this will fail
  • There's an idea to create a default VPC if it does not exist -- I'd rather we fail hard if a person is trying to use this with a VPC and they deliberately deleted the default VPC behind the scenes
  • A potential last idea is to require the user to provide VPC details, but IMO this would break any flows where people don't want to use a VPC at all
  • It sounds like our current approach is the best compromise: use explicit VPC is a variable is set, use default VPC if it exists and variable is set, fail if variable is set and the VPC being used does not exist

closing this as done given ^^^ but please lmk if you disagree

from deployment-automation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.