diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 421970d7..41c89a51 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,6 +19,7 @@ jobs: with: ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} + fetch-depth: 0 - name: Setup Node.js uses: actions/setup-node@v3 with: diff --git a/.projen/tasks.json b/.projen/tasks.json index f4687250..056c4e08 100644 --- a/.projen/tasks.json +++ b/.projen/tasks.json @@ -116,7 +116,7 @@ "description": "Generate API.md from .jsii manifest", "steps": [ { - "exec": "rm -rf docs && mkdir docs && jsii-docgen --split-by-submodule -l typescript -l python -l java -l csharp -l go && mv *.*.md docs" + "exec": "rm -rf docs && mkdir docs && jsii-docgen --split-by-submodule -l typescript -l python -l java -l csharp -l go && mv *.*.md docs && cd docs && ls ./ | xargs sed -i '150000,$ d' $1" } ] }, diff --git a/docs/config.go.md b/docs/config.go.md index edcb52fd..2aad38ad 100644 --- a/docs/config.go.md +++ b/docs/config.go.md @@ -9,7 +9,7 @@ Represents a {@link https://www.terraform.io/docs/providers/cloudinit/r/config c #### Initializers ```go -import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/config" +import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/v5/config" config.NewConfig(scope Construct, id *string, config ConfigConfig) Config ``` @@ -307,7 +307,7 @@ func ResetPart() ##### `IsConstruct` ```go -import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/config" +import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/v5/config" config.Config_IsConstruct(x interface{}) *bool ``` @@ -339,7 +339,7 @@ Any object. ##### `IsTerraformElement` ```go -import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/config" +import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/v5/config" config.Config_IsTerraformElement(x interface{}) *bool ``` @@ -353,7 +353,7 @@ config.Config_IsTerraformElement(x interface{}) *bool ##### `IsTerraformResource` ```go -import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/config" +import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/v5/config" config.Config_IsTerraformResource(x interface{}) *bool ``` @@ -662,7 +662,7 @@ func TfResourceType() *string #### Initializer ```go -import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/config" +import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/v5/config" &config.ConfigConfig { Connection: interface{}, @@ -830,7 +830,7 @@ Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloud #### Initializer ```go -import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/config" +import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/v5/config" &config.ConfigPart { Content: *string, @@ -914,7 +914,7 @@ Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloud #### Initializers ```go -import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/config" +import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/v5/config" config.NewConfigPartList(terraformResource IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ConfigPartList ``` @@ -1057,7 +1057,7 @@ func InternalValue() interface{} #### Initializers ```go -import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/config" +import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/v5/config" config.NewConfigPartOutputReference(terraformResource IInterpolatingParent, terraformAttribute *string, complexObjectIndex *f64, complexObjectIsFromSet *bool) ConfigPartOutputReference ``` diff --git a/docs/dataCloudinitConfig.go.md b/docs/dataCloudinitConfig.go.md index 8faaea0e..b70e8de0 100644 --- a/docs/dataCloudinitConfig.go.md +++ b/docs/dataCloudinitConfig.go.md @@ -9,7 +9,7 @@ Represents a {@link https://www.terraform.io/docs/providers/cloudinit/d/config c #### Initializers ```go -import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/datacloudinitconfig" +import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/v5/datacloudinitconfig" datacloudinitconfig.NewDataCloudinitConfig(scope Construct, id *string, config DataCloudinitConfigConfig) DataCloudinitConfig ``` @@ -307,7 +307,7 @@ func ResetPart() ##### `IsConstruct` ```go -import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/datacloudinitconfig" +import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/v5/datacloudinitconfig" datacloudinitconfig.DataCloudinitConfig_IsConstruct(x interface{}) *bool ``` @@ -339,7 +339,7 @@ Any object. ##### `IsTerraformElement` ```go -import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/datacloudinitconfig" +import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/v5/datacloudinitconfig" datacloudinitconfig.DataCloudinitConfig_IsTerraformElement(x interface{}) *bool ``` @@ -353,7 +353,7 @@ datacloudinitconfig.DataCloudinitConfig_IsTerraformElement(x interface{}) *bool ##### `IsTerraformDataSource` ```go -import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/datacloudinitconfig" +import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/v5/datacloudinitconfig" datacloudinitconfig.DataCloudinitConfig_IsTerraformDataSource(x interface{}) *bool ``` @@ -640,7 +640,7 @@ func TfResourceType() *string #### Initializer ```go -import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/datacloudinitconfig" +import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/v5/datacloudinitconfig" &datacloudinitconfig.DataCloudinitConfigConfig { Connection: interface{}, @@ -808,7 +808,7 @@ Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloud #### Initializer ```go -import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/datacloudinitconfig" +import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/v5/datacloudinitconfig" &datacloudinitconfig.DataCloudinitConfigPart { Content: *string, @@ -892,7 +892,7 @@ Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloud #### Initializers ```go -import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/datacloudinitconfig" +import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/v5/datacloudinitconfig" datacloudinitconfig.NewDataCloudinitConfigPartList(terraformResource IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) DataCloudinitConfigPartList ``` @@ -1035,7 +1035,7 @@ func InternalValue() interface{} #### Initializers ```go -import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/datacloudinitconfig" +import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/v5/datacloudinitconfig" datacloudinitconfig.NewDataCloudinitConfigPartOutputReference(terraformResource IInterpolatingParent, terraformAttribute *string, complexObjectIndex *f64, complexObjectIsFromSet *bool) DataCloudinitConfigPartOutputReference ``` diff --git a/docs/provider.go.md b/docs/provider.go.md index 3ab1bf2b..044d44a6 100644 --- a/docs/provider.go.md +++ b/docs/provider.go.md @@ -9,7 +9,7 @@ Represents a {@link https://www.terraform.io/docs/providers/cloudinit cloudinit} #### Initializers ```go -import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/provider" +import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/v5/provider" provider.NewCloudinitProvider(scope Construct, id *string, config CloudinitProviderConfig) CloudinitProvider ``` @@ -143,7 +143,7 @@ func ResetAlias() ##### `IsConstruct` ```go -import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/provider" +import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/v5/provider" provider.CloudinitProvider_IsConstruct(x interface{}) *bool ``` @@ -175,7 +175,7 @@ Any object. ##### `IsTerraformElement` ```go -import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/provider" +import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/v5/provider" provider.CloudinitProvider_IsTerraformElement(x interface{}) *bool ``` @@ -189,7 +189,7 @@ provider.CloudinitProvider_IsTerraformElement(x interface{}) *bool ##### `IsTerraformProvider` ```go -import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/provider" +import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/v5/provider" provider.CloudinitProvider_IsTerraformProvider(x interface{}) *bool ``` @@ -344,7 +344,7 @@ func TfResourceType() *string #### Initializer ```go -import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/provider" +import "github.com/cdktf/cdktf-provider-cloudinit-go/cloudinit/v5/provider" &provider.CloudinitProviderConfig { Alias: *string, diff --git a/package.json b/package.json index dfabfbb8..07c89c40 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "jsii-pacmak": "^1.76.0", "node-fetch": "cjs", "npm-check-updates": "^16", - "projen": "^0.67.69", + "projen": "^0.67.70", "standard-version": "^9", "typescript": "^4.9.5" }, diff --git a/yarn.lock b/yarn.lock index 46c3ccb5..1536458b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -171,9 +171,9 @@ jsii-srcmak "^0.1.826" "@cdktf/provider-project@^0.2.95": - version "0.2.99" - resolved "https://registry.yarnpkg.com/@cdktf/provider-project/-/provider-project-0.2.99.tgz#3d78eb2693d558ee7e6b24a55ad9a391c7f7eeb1" - integrity sha512-DIPeLe3bcQmgmEH2YveZJordIA34QDWozRkM7DboGkVRqdNDMmsWBd6g7hQzDbXqSkzBLrBfT1lxEQ4nGNbWsw== + version "0.2.102" + resolved "https://registry.yarnpkg.com/@cdktf/provider-project/-/provider-project-0.2.102.tgz#a7625517f091b7faa9557ad717e77fc323a9b965" + integrity sha512-One1wfYHqtdTZxNf34Y69nYg+MT311qhHqPObNbsVHOQLyG4sX8mMOpKfBGCh4uJwMUO1Vv+oaBtd/Q6Bkl89A== dependencies: change-case "^4.1.2" fs-extra "^10.1.0" @@ -3355,10 +3355,10 @@ progress@^2.0.3: resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== -projen@^0.67.69: - version "0.67.69" - resolved "https://registry.yarnpkg.com/projen/-/projen-0.67.69.tgz#ec666e340395a3b429581a91733b6856d0602e86" - integrity sha512-F28eW4CZFQwsb93omeVfzAoK9hEajqrzBzKZCwIfKaEupAjqJ8KJkc29FW4MnI7tbZ0DzHg75u0yzzNtotaEXg== +projen@^0.67.70: + version "0.67.70" + resolved "https://registry.yarnpkg.com/projen/-/projen-0.67.70.tgz#e12361c8610db95e27205df31c0c1395b3526a2b" + integrity sha512-ruQZAQK2ROXS4UEXhM6j4uLvbvPkmI2EpQBMl2rcJcPkrCr4rmOzcdS8HgNVK8HblKfhzNZuJBuWN6DET8wyBg== dependencies: "@iarna/toml" "^2.2.5" case "^1.6.3"