Code Monkey home page Code Monkey logo

aws-cdk-transit-gateway-peering's Issues

Bug with python 3.9 and cattrs

There's some sort of odd _Union bug with the cattrs version in the requirements.

I set up a new virtualenv, did pip3 install -r requirements.txt and CDK could not synth due to an odd error.

I fixed the dependency by essentially saying >= to cattrs, attrs, and jsii. This probably isn't awesome, but what fixed it for me:

boto3>=1.9.197 # for python scripts
attrs>=20.1.0 # via cattrs, jsii
aws-cdk.aws-cloudwatch==1.34.1 # via aws-cdk.aws-ec2, aws-cdk.aws-logs
aws-cdk.aws-ec2==1.34.1 # via -r requirements.in
aws-cdk.aws-events==1.34.1 # via aws-cdk.aws-s3
aws-cdk.aws-iam==1.34.1 # via -r requirements.in, aws-cdk.aws-cloudwatch, aws-cdk.aws-ec2, aws-cdk.aws-events, aws-cdk.aws-kms, aws-cdk.aws-logs, aws-cdk.aws-s3, aws-cdk.aws-ssm
aws-cdk.aws-kms==1.34.1 # via aws-cdk.aws-s3, aws-cdk.aws-ssm
aws-cdk.aws-logs==1.34.1 # via aws-cdk.aws-ec2
aws-cdk.aws-s3==1.34.1 # via aws-cdk.aws-ec2
aws-cdk.aws-ssm==1.34.1 # via aws-cdk.aws-ec2
aws-cdk.cloud-assembly-schema==1.34.1 # via aws-cdk.core, aws-cdk.cx-api
aws-cdk.core==1.34.1 # via -r requirements.in, aws-cdk.aws-cloudwatch, aws-cdk.aws-ec2, aws-cdk.aws-events, aws-cdk.aws-iam, aws-cdk.aws-kms, aws-cdk.aws-logs, aws-cdk.aws-s3, aws-cdk.aws-ssm
aws-cdk.cx-api==1.34.1 # via aws-cdk.aws-ec2, aws-cdk.aws-ssm, aws-cdk.core
aws-cdk.region-info==1.34.1 # via aws-cdk.aws-ec2, aws-cdk.aws-iam
cattrs>=1.1.1 # via jsii
constructs==3.0.2 # via aws-cdk.aws-cloudwatch, aws-cdk.aws-ec2, aws-cdk.aws-events, aws-cdk.aws-iam, aws-cdk.aws-kms, aws-cdk.aws-logs, aws-cdk.aws-s3, aws-cdk.aws-ssm, aws-cdk.core
jsii>=1.4.0 # via aws-cdk.aws-cloudwatch, aws-cdk.aws-ec2, aws-cdk.aws-events, aws-cdk.aws-iam, aws-cdk.aws-kms, aws-cdk.aws-logs, aws-cdk.aws-s3, aws-cdk.aws-ssm, aws-cdk.cloud-assembly-schema, aws-cdk.core, aws-cdk.cx-api, aws-cdk.region-info, constructs
publication==0.0.3 # via aws-cdk.aws-cloudwatch, aws-cdk.aws-ec2, aws-cdk.aws-events, aws-cdk.aws-iam, aws-cdk.aws-kms, aws-cdk.aws-logs, aws-cdk.aws-s3, aws-cdk.aws-ssm, aws-cdk.cloud-assembly-schema, aws-cdk.core, aws-cdk.cx-api, aws-cdk.region-info, constructs
python-dateutil==2.8.1 # via jsii
six==1.14.0 # via python-dateutil
typing-extensions==3.7.4.2 # via jsii

Add description for AWS CLI v2 commands

For users already using AWS CLI v2, the transit gateway attachment status verification commands are not backward compatible. For Example:

aws ec2 describe-transit-gateway-peering-attachments --region us-east-1
fails and is replaced with
aws2 ec2 describe-transit-gateway-attachments --region us-east-1

VPC subnet routing

This example didn't work out of the box. To get it working, I had to manually add routing between the VPC subnets. Probably worth noting in the README.

please describe where the tgw_asn magic numbers come from

There are two "magic numbers" in this code, the tgw_asn for us-east-1 and another for us-west-1. Can you please document what they are, where they're from and what we would need to do to extend this code do other regions / accounts?

Make the use of CDK optional

By using CDK for the sample deployment, you require the customer to have multiple dependencies and eventually run into more trouble (Windows, Python Configuration Etc). If it's possible, make it one click deploy via CFn Template.

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.