
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@cdktf/provider-project
Advanced tools
A project template for [projen](https://github.com/eladb/projen) to create repositories for prebuilt provider packages for [Terraform CDK](https://cdk.tf).
A project template for projen to create repositories for prebuilt provider packages for Terraform CDK.
The provider repos are entirely auto generated from the configuration contained in this repo here. There's no manual interaction necessary, except for creating the initial repository - using this repo. The cdktf get command is executed as part of the build pipeline in Github Actions. These jobs are executed on a schedule. Hence, new provider changes will be picked up automatically.
Add a new repository over here.
In the newly created repository, all we need is a .projenrc.js file like this:
const { CdktfProviderProject } = require('@cdktf/provider-project');
const { Semver } = require('projen');
const project = new CdktfProviderProject({
terraformProvider: "aws@~> 2.0"
});
project.synth();
Adjust the terraformProvider attribute as required and run the following commands:
npm install @cdktf/provider-project@latest
npx projen
yarn install
This will generate an entire repository ready to be published, including Github Workflows for publishing NPM, Pypi and maven packages. The only thing which is needed to be set manually are the tokens for these registries:
NPM_TOKENTWINE_PASSWORDTWINE_USERNAMEMAVEN_GPG_PRIVATE_KEYMAVEN_GPG_PRIVATE_KEY_PASSPHRASEMAVEN_PASSWORDMAVEN_USERNAMEMAVEN_STAGING_PROFILE_IDCommit and push the required changes to this repository here and wait for the auto-release to happen. Once released, you can run the following commands in the target provider repository:
npm install @cdktf/provider-project@latest
npx projen
yarn install
Commit, push and check for the auto-released version.
Whatever needs to be changed in the downstream provider repositories should be done via the code definitions here.
For local development, yarn link might be quite helpful for testing.
FAQs
A project template for [projen](https://github.com/eladb/projen) to create repositories for prebuilt provider packages for [Terraform CDK](https://cdk.tf).
The npm package @cdktf/provider-project receives a total of 300 weekly downloads. As such, @cdktf/provider-project popularity was classified as not popular.
We found that @cdktf/provider-project demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.