Giter VIP home page Giter VIP logo

cdktf-provider-aws's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cdktf-provider-aws's Issues

Reporting a vulnerability

Hello!

I hope you are doing well!

We are a security research team. Our tool automatically detected a vulnerability in this repository. We want to disclose it responsibly. GitHub has a feature called Private vulnerability reporting, which enables security research to privately disclose a vulnerability. Unfortunately, it is not enabled for this repository.

Can you enable it, so that we can report it?

Thanks in advance!

PS: you can read about how to enable private vulnerability reporting here: https://docs.github.com/en/code-security/security-advisories/repository-security-advisories/configuring-private-vulnerability-reporting-for-a-repository

Maven library for AWS pre-built provider

Hi,

The current listed build targets of the AWS pre-built provider are: npm, Pypi, Nuget, Maven.
I can find the npm package for Typescript and the Pypi package for Python, but where could I find the Maven library for Java?
Thanks.

Update to 0.8.3

0.8.3 fixes important problem with handling of false booleans.

Exported APIs cannot use un-exported type "@pahud/cdktf-aws-eks.EKS.EksCluster"

Hi @skorfmann

I ran into this error when I upgrade cdktf 0.6.0 to 0.7.0 from this https://github.com/pahud/cdktf-aws-eks/pull/61

ๅœ–็‰‡

The complete CI log https://github.com/pahud/cdktf-aws-eks/runs/3993893529?check_suite_focus=true

Looks like the EksCluster is an exported class but somehow it complained not an exported class:
https://github.com/hashicorp/cdktf-provider-aws/blob/2c441c164977d7124602468bc5232dee7e03e8a9/src/EKS.ts#L659

Do you have any idea about this error?

RDS Cluster Scaling Configuration

The generated code for RdsClusterScalingConfigurationOutputReference has a check for _autoPause. This is passed as a boolean so when we hit this line, we actually end up removing autoPause from the struct.

 if (this._autoPause) {
      hasAnyValues = true;
      internalValueResult.autoPause = this._autoPause;
    }

This is fixable by checking if the value exists rather than it's truthiness

 if (this.hasOwnProperty('_autoPause')) {                         
     hasAnyValues = true;                                         
     internalValueResult.autoPause = this._autoPause;             
 }                                                                

For example with a configuration like the following:

import { Construct } from "constructs";                 
import { App, TerraformStack } from "cdktf";            
import { AwsProvider, rds } from "@cdktf/provider-aws"; 
                                                        
class MyStack extends TerraformStack {                  
  constructor(scope: Construct, name: string) {         
    super(scope, name);                                 
                                                        
    new AwsProvider(this, 'aws', {region: 'us-east-1'});
    new rds.RdsCluster(this, 'rds_cluster', {           
      scalingConfiguration: {                           
        autoPause: false,                               
        minCapacity: 2,                                 
      },                                                
    });                                                 
  }                                                     
}                                                       
                                                        
const app = new App();                                  
new MyStack(app, "hello-terraform");                    
app.synth();                                                                                                

We generate a cdk.tf.json without auto_pause.

"resource": {                                              
  "aws_rds_cluster": {                                     
    "helloterraform_rdscluster_FEBDE050": {                
      "scaling_configuration": {                           
        "min_capacity": 2                                  
      },                                                   
      "//": {                                              
        "metadata": {                                      
          "path": "hello-terraform/rds_cluster",           
          "uniqueId": "helloterraform_rdscluster_FEBDE050" 
        }                                                  
      }                                                    
    }                                                      
  }                                                        
}                                                          

The top of the file says this code is generated so I'm not sure if I should put in a PR or if the issue exists further upstream.

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.