cdktf / cdktf-provider-aws Goto Github PK
View Code? Open in Web Editor NEWPrebuilt Terraform CDK (cdktf) provider for aws.
Home Page: https://cdk.tf
License: Mozilla Public License 2.0
Prebuilt Terraform CDK (cdktf) provider for aws.
Home Page: https://cdk.tf
License: Mozilla Public License 2.0
Hi, any chance this library will be updated to support the architecture change from AWS? The parent module terraform-provider-aws
was updated already.
Thanks.
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
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.
I'm not able to find the ECS Fargate provider in the library. Is this intentional or am I missing something?
0.8.3 fixes important problem with handling of false
booleans.
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?
Any plan to have a repo on Github for Go?
what is the plan for supporting aws provider 4.0?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.