@cdktn/provider-azurerm

中文文档
19.0.1发布于 2026/11/01MPL-2.0TypeScriptCommonJS零依赖构建来源已验证近 30 天下载 9.4万

Prebuilt azurerm Provider for CDK Terrain (cdktn)

原始使用文档
文档目录14 节
  1. Available Packages
  2. NPM
  3. PyPI
  4. Nuget
  5. Maven
  6. Go
  7. Docs
  8. Versioning
  9. Features / Issues / Bugs
  10. Contributing
  11. Projen
  12. cdktn-provider-project based on Projen
  13. Provider Version
  14. Repository Management

CDKTN prebuilt bindings for hashicorp/azurerm provider version 5.12.0

This repo builds and publishes the Terraform azurerm provider bindings for CDK Terrain.

Available Packages

NPM

The npm package is available at https://www.npmjs.com/package/@cdktn/provider-azurerm.

npm install @cdktn/provider-azurerm

PyPI

The PyPI package is available at https://pypi.org/project/cdktn-provider-azurerm.

pipenv install cdktn-provider-azurerm

Nuget

The Nuget package is available at https://www.nuget.org/packages/Io.Cdktn.Providers.Azurerm.

dotnet add package Io.Cdktn.Providers.Azurerm

Maven

The Maven package is available at https://mvnrepository.com/artifact/io.cdktn/cdktn-provider-azurerm.

<dependency>
    <groupId>io.cdktn</groupId>
    <artifactId>cdktn-provider-azurerm</artifactId>
    <version>[REPLACE WITH DESIRED VERSION]</version>
</dependency>

Go

The go package is generated into the github.com/cdktn-io/cdktn-provider-azurerm-go package.

go get github.com/cdktn-io/cdktn-provider-azurerm-go/azurerm/<version>

Where <version> is the version of the prebuilt provider you would like to use e.g. v11. The full module name can be found within the go.mod file.

Docs

Find auto-generated docs for this provider here:

You can also visit a hosted version of the documentation on constructs.dev.

Versioning

This project is explicitly not tracking the Terraform azurerm provider version 1:1. In fact, it always tracks latest of ~> 5.0 with every release. If there are scenarios where you explicitly have to pin your provider version, you can do so by generating the provider constructs manually.

These are the upstream dependencies:

If there are breaking changes (backward incompatible) in any of the above, the major version of this project will be bumped.

Features / Issues / Bugs

Please report bugs and issues to the CDK Terrain project:

Contributing

Projen

This is mostly based on Projen, which takes care of generating the entire repository.

cdktn-provider-project based on Projen

There's a custom project builder which encapsulate the common settings for all cdktn prebuilt providers.

Provider Version

The provider version can be adjusted in ./.projenrc.js.

Repository Management

The repository is managed by CDKTN Repository Manager.

版本与发布记录

@cdktn/provider-azurerm 共发布 39 个版本,首次发布于 2026/02/07;过去 12 个月发布了 39 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
19.0.1latest2026/11/018 天前
19.0.02026/10/2812 天前
18.9.02026/10/1624 天前
18.8.02026/10/0930 天前
18.7.12026/10/071 个月前
18.7.02026/09/251 个月前

关于 @cdktn/provider-azurerm 的常见问题

@cdktn/provider-azurerm 是什么?

Prebuilt azurerm Provider for CDK Terrain (cdktn)

如何安装 @cdktn/provider-azurerm?

在项目目录运行 npm install @cdktn/provider-azurerm,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:cdktn(^0.25.0)、constructs(^10.6.0)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@cdktn/provider-azurerm 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@cdktn/provider-azurerm 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@cdktn/provider-azurerm 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >= 22.11.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@cdktn/provider-azurerm 可以商用吗?

@cdktn/provider-azurerm 使用 MPL-2.0 许可。弱 Copyleft:可以商用,也可以和闭源代码一起使用;但如果分发时修改了 MPL 授权的文件,这些文件的修改需以 MPL 开源。以上为概括,不构成法律意见,请以许可原文为准。

@cdktn/provider-azurerm 的下载量有多少?

根据 npm 官方下载统计,@cdktn/provider-azurerm 在 2026/10/10 – 2026/11/08 这 30 天内被下载 93,874 次,日均约 3,129 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@cdktn/provider-azurerm 还在维护吗?

最新版本 19.0.1 发布于 2026/11/01(8 天前);至今共发布 39 个版本,其中过去 12 个月发布了 39 个;首次发布于 2026/02/07。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。