Giter Site home page Giter Site logo

initech-vpc-shared's Introduction

Introduction

A basic VPC stack, used as a base for demonstration purposes.

Overview

This demo highlights the following:

  • C# support
  • @pulumi/awsx

Setup

  • pulumi config set org ORGANIZATION where ORGANIZATION is the name of the org in which the stack is launched.
  • Configuration:
    • CidrBlock (default: 10.1.0.0/20): The VPC CIDR range
    • NumberOfAzs (default: 2): Number of availability zones to use
    • enableNAT (default: true): Enable a NAT gateway for the Private subnet
    • gatewayEndpointServices (default ['s3']): List of endpoint services to enable on the VPC

ESC (environment, secrets, configuration)

This project assumes the use of ESC for credentials and configuration. The default environments is expected to be aws

If the ESC environment needs to be recreated, it should look like:

values:
  aws:
    creds:
      fn::open::aws-login:
        oidc:
          duration: 1h
          roleArn: arn:aws:iam::052848974346:role/pulumi-demo-org-deployments-oidc
          sessionName: pulumi-environments-session
  environmentVariables:
    AWS_ACCESS_KEY_ID: ${aws.creds.accessKeyId}
    AWS_SECRET_ACCESS_KEY: ${aws.creds.secretAccessKey}
    AWS_SESSION_TOKEN: ${aws.creds.sessionToken}
    AWS_REGION: us-west-2

Note that we are reading config values from the ESC environment. We can override these locally with pulumi config set KEY VALUE if necessary.

initech-vpc-shared's People

Contributors

automagic avatar

Watchers

 avatar  avatar

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.