From 6785345111026a9b5a7329d4551895e6f3fd440a Mon Sep 17 00:00:00 2001 From: github-team-tf-cdk Date: Tue, 19 Dec 2023 15:02:36 +0000 Subject: [PATCH 1/2] chore(deps): update by cdktf/cdktf-repository-manager@578d3ea --- .github/workflows/force-release.yml | 1 - .github/workflows/release.yml | 5 +++-- docs/offset.go.md | 12 ++++++------ docs/provider.go.md | 12 ++++++------ docs/rotating.go.md | 12 ++++++------ docs/sleep.go.md | 12 ++++++------ docs/staticResource.go.md | 12 ++++++------ src/index.ts | 5 ----- src/lazy-index.ts | 5 ----- src/offset/index.ts | 5 ----- src/provider/index.ts | 5 ----- src/rotating/index.ts | 5 ----- src/sleep/index.ts | 5 ----- src/static-resource/index.ts | 5 ----- yarn.lock | 6 +++--- 15 files changed, 36 insertions(+), 71 deletions(-) diff --git a/.github/workflows/force-release.yml b/.github/workflows/force-release.yml index b9c09d9..6a6902c 100644 --- a/.github/workflows/force-release.yml +++ b/.github/workflows/force-release.yml @@ -96,7 +96,6 @@ jobs: sed -i -e '/API.typescript.md/,/You can also visit a hosted version/!b' -e 'd' .repo/dist/go/*/README.md sed -i 's|Find auto-generated docs for this provider here:|Find auto-generated docs for this provider [here](https://github.com/cdktf/cdktf-provider-time/blob/main/docs/API.go.md).|' .repo/dist/go/*/README.md sed -i -e '/### Provider Version/,/The provider version can be adjusted/!b' -e 'd' .repo/dist/go/*/README.md - continue-on-error: true - name: Copy the README file to the parent directory run: cp .repo/dist/go/*/README.md .repo/dist/go/README.md - name: Collect go Artifact diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f523a55..808594e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -71,7 +71,9 @@ jobs: env: NPM_REGISTRY: registry.npmjs.org NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: npm deprecate @cdktf/provider-time "See https://cdk.tf/imports for details on how to continue to use the time provider in your CDK for Terraform (CDKTF) projects by generating the bindings locally." + run: |- + npm set "//$NPM_REGISTRY/:_authToken=$NPM_TOKEN" + npm deprecate @cdktf/provider-time "See https://cdk.tf/imports for details on how to continue to use the time provider in your CDK for Terraform (CDKTF) projects by generating the bindings locally." release_github: name: Publish to GitHub Releases needs: release @@ -359,7 +361,6 @@ jobs: sed -i -e '/API.typescript.md/,/You can also visit a hosted version/!b' -e 'd' .repo/dist/go/*/README.md sed -i 's|Find auto-generated docs for this provider here:|Find auto-generated docs for this provider [here](https://github.com/cdktf/cdktf-provider-time/blob/main/docs/API.go.md).|' .repo/dist/go/*/README.md sed -i -e '/### Provider Version/,/The provider version can be adjusted/!b' -e 'd' .repo/dist/go/*/README.md - continue-on-error: true - name: Copy the README file to the parent directory run: cp .repo/dist/go/*/README.md .repo/dist/go/README.md - name: Collect go Artifact diff --git a/docs/offset.go.md b/docs/offset.go.md index 031eeaa..2e7cf7b 100644 --- a/docs/offset.go.md +++ b/docs/offset.go.md @@ -9,7 +9,7 @@ Represents a {@link https://registry.terraform.io/providers/hashicorp/time/0.10. #### Initializers ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/offset" +import "github.com/cdktf/cdktf-provider-time-go/time/offset" offset.NewOffset(scope Construct, id *string, config OffsetConfig) Offset ``` @@ -427,7 +427,7 @@ func ResetTriggers() ##### `IsConstruct` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/offset" +import "github.com/cdktf/cdktf-provider-time-go/time/offset" offset.Offset_IsConstruct(x interface{}) *bool ``` @@ -459,7 +459,7 @@ Any object. ##### `IsTerraformElement` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/offset" +import "github.com/cdktf/cdktf-provider-time-go/time/offset" offset.Offset_IsTerraformElement(x interface{}) *bool ``` @@ -473,7 +473,7 @@ offset.Offset_IsTerraformElement(x interface{}) *bool ##### `IsTerraformResource` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/offset" +import "github.com/cdktf/cdktf-provider-time-go/time/offset" offset.Offset_IsTerraformResource(x interface{}) *bool ``` @@ -487,7 +487,7 @@ offset.Offset_IsTerraformResource(x interface{}) *bool ##### `GenerateConfigForImport` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/offset" +import "github.com/cdktf/cdktf-provider-time-go/time/offset" offset.Offset_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource ``` @@ -991,7 +991,7 @@ func TfResourceType() *string #### Initializer ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/offset" +import "github.com/cdktf/cdktf-provider-time-go/time/offset" &offset.OffsetConfig { Connection: interface{}, diff --git a/docs/provider.go.md b/docs/provider.go.md index 8698761..425e97c 100644 --- a/docs/provider.go.md +++ b/docs/provider.go.md @@ -9,7 +9,7 @@ Represents a {@link https://registry.terraform.io/providers/hashicorp/time/0.10. #### Initializers ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/provider" +import "github.com/cdktf/cdktf-provider-time-go/time/provider" provider.NewTimeProvider(scope Construct, id *string, config TimeProviderConfig) TimeProvider ``` @@ -144,7 +144,7 @@ func ResetAlias() ##### `IsConstruct` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/provider" +import "github.com/cdktf/cdktf-provider-time-go/time/provider" provider.TimeProvider_IsConstruct(x interface{}) *bool ``` @@ -176,7 +176,7 @@ Any object. ##### `IsTerraformElement` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/provider" +import "github.com/cdktf/cdktf-provider-time-go/time/provider" provider.TimeProvider_IsTerraformElement(x interface{}) *bool ``` @@ -190,7 +190,7 @@ provider.TimeProvider_IsTerraformElement(x interface{}) *bool ##### `IsTerraformProvider` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/provider" +import "github.com/cdktf/cdktf-provider-time-go/time/provider" provider.TimeProvider_IsTerraformProvider(x interface{}) *bool ``` @@ -204,7 +204,7 @@ provider.TimeProvider_IsTerraformProvider(x interface{}) *bool ##### `GenerateConfigForImport` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/provider" +import "github.com/cdktf/cdktf-provider-time-go/time/provider" provider.TimeProvider_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource ``` @@ -389,7 +389,7 @@ func TfResourceType() *string #### Initializer ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/provider" +import "github.com/cdktf/cdktf-provider-time-go/time/provider" &provider.TimeProviderConfig { Alias: *string, diff --git a/docs/rotating.go.md b/docs/rotating.go.md index 760788e..dfe31ff 100644 --- a/docs/rotating.go.md +++ b/docs/rotating.go.md @@ -9,7 +9,7 @@ Represents a {@link https://registry.terraform.io/providers/hashicorp/time/0.10. #### Initializers ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/rotating" +import "github.com/cdktf/cdktf-provider-time-go/time/rotating" rotating.NewRotating(scope Construct, id *string, config RotatingConfig) Rotating ``` @@ -427,7 +427,7 @@ func ResetTriggers() ##### `IsConstruct` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/rotating" +import "github.com/cdktf/cdktf-provider-time-go/time/rotating" rotating.Rotating_IsConstruct(x interface{}) *bool ``` @@ -459,7 +459,7 @@ Any object. ##### `IsTerraformElement` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/rotating" +import "github.com/cdktf/cdktf-provider-time-go/time/rotating" rotating.Rotating_IsTerraformElement(x interface{}) *bool ``` @@ -473,7 +473,7 @@ rotating.Rotating_IsTerraformElement(x interface{}) *bool ##### `IsTerraformResource` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/rotating" +import "github.com/cdktf/cdktf-provider-time-go/time/rotating" rotating.Rotating_IsTerraformResource(x interface{}) *bool ``` @@ -487,7 +487,7 @@ rotating.Rotating_IsTerraformResource(x interface{}) *bool ##### `GenerateConfigForImport` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/rotating" +import "github.com/cdktf/cdktf-provider-time-go/time/rotating" rotating.Rotating_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource ``` @@ -980,7 +980,7 @@ func TfResourceType() *string #### Initializer ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/rotating" +import "github.com/cdktf/cdktf-provider-time-go/time/rotating" &rotating.RotatingConfig { Connection: interface{}, diff --git a/docs/sleep.go.md b/docs/sleep.go.md index 2e73344..8ee7d90 100644 --- a/docs/sleep.go.md +++ b/docs/sleep.go.md @@ -9,7 +9,7 @@ Represents a {@link https://registry.terraform.io/providers/hashicorp/time/0.10. #### Initializers ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/sleep" +import "github.com/cdktf/cdktf-provider-time-go/time/sleep" sleep.NewSleep(scope Construct, id *string, config SleepConfig) Sleep ``` @@ -392,7 +392,7 @@ func ResetTriggers() ##### `IsConstruct` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/sleep" +import "github.com/cdktf/cdktf-provider-time-go/time/sleep" sleep.Sleep_IsConstruct(x interface{}) *bool ``` @@ -424,7 +424,7 @@ Any object. ##### `IsTerraformElement` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/sleep" +import "github.com/cdktf/cdktf-provider-time-go/time/sleep" sleep.Sleep_IsTerraformElement(x interface{}) *bool ``` @@ -438,7 +438,7 @@ sleep.Sleep_IsTerraformElement(x interface{}) *bool ##### `IsTerraformResource` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/sleep" +import "github.com/cdktf/cdktf-provider-time-go/time/sleep" sleep.Sleep_IsTerraformResource(x interface{}) *bool ``` @@ -452,7 +452,7 @@ sleep.Sleep_IsTerraformResource(x interface{}) *bool ##### `GenerateConfigForImport` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/sleep" +import "github.com/cdktf/cdktf-provider-time-go/time/sleep" sleep.Sleep_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource ``` @@ -758,7 +758,7 @@ func TfResourceType() *string #### Initializer ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/sleep" +import "github.com/cdktf/cdktf-provider-time-go/time/sleep" &sleep.SleepConfig { Connection: interface{}, diff --git a/docs/staticResource.go.md b/docs/staticResource.go.md index 4a98425..a731cf7 100644 --- a/docs/staticResource.go.md +++ b/docs/staticResource.go.md @@ -9,7 +9,7 @@ Represents a {@link https://registry.terraform.io/providers/hashicorp/time/0.10. #### Initializers ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/staticresource" +import "github.com/cdktf/cdktf-provider-time-go/time/staticresource" staticresource.NewStaticResource(scope Construct, id *string, config StaticResourceConfig) StaticResource ``` @@ -385,7 +385,7 @@ func ResetTriggers() ##### `IsConstruct` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/staticresource" +import "github.com/cdktf/cdktf-provider-time-go/time/staticresource" staticresource.StaticResource_IsConstruct(x interface{}) *bool ``` @@ -417,7 +417,7 @@ Any object. ##### `IsTerraformElement` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/staticresource" +import "github.com/cdktf/cdktf-provider-time-go/time/staticresource" staticresource.StaticResource_IsTerraformElement(x interface{}) *bool ``` @@ -431,7 +431,7 @@ staticresource.StaticResource_IsTerraformElement(x interface{}) *bool ##### `IsTerraformResource` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/staticresource" +import "github.com/cdktf/cdktf-provider-time-go/time/staticresource" staticresource.StaticResource_IsTerraformResource(x interface{}) *bool ``` @@ -445,7 +445,7 @@ staticresource.StaticResource_IsTerraformResource(x interface{}) *bool ##### `GenerateConfigForImport` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/staticresource" +import "github.com/cdktf/cdktf-provider-time-go/time/staticresource" staticresource.StaticResource_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource ``` @@ -806,7 +806,7 @@ func TfResourceType() *string #### Initializer ```go -import "github.com/cdktf/cdktf-provider-time-go/time/v9/staticresource" +import "github.com/cdktf/cdktf-provider-time-go/time/staticresource" &staticresource.StaticResourceConfig { Connection: interface{}, diff --git a/src/index.ts b/src/index.ts index fb96b20..a19c979 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,8 +1,3 @@ -/** - * Copyright (c) HashiCorp, Inc. - * SPDX-License-Identifier: MPL-2.0 - */ - // generated by cdktf get export * as offset from './offset'; export * as rotating from './rotating'; diff --git a/src/lazy-index.ts b/src/lazy-index.ts index 2727477..4b921bf 100644 --- a/src/lazy-index.ts +++ b/src/lazy-index.ts @@ -1,8 +1,3 @@ -/** - * Copyright (c) HashiCorp, Inc. - * SPDX-License-Identifier: MPL-2.0 - */ - // generated by cdktf get Object.defineProperty(exports, 'offset', { get: function () { return require('./offset'); } }); Object.defineProperty(exports, 'rotating', { get: function () { return require('./rotating'); } }); diff --git a/src/offset/index.ts b/src/offset/index.ts index 7c297e0..c394b08 100644 --- a/src/offset/index.ts +++ b/src/offset/index.ts @@ -1,8 +1,3 @@ -/** - * Copyright (c) HashiCorp, Inc. - * SPDX-License-Identifier: MPL-2.0 - */ - // https://registry.terraform.io/providers/hashicorp/time/0.10.0/docs/resources/offset // generated from terraform resource schema diff --git a/src/provider/index.ts b/src/provider/index.ts index 885314a..5ad2ba6 100644 --- a/src/provider/index.ts +++ b/src/provider/index.ts @@ -1,8 +1,3 @@ -/** - * Copyright (c) HashiCorp, Inc. - * SPDX-License-Identifier: MPL-2.0 - */ - // https://registry.terraform.io/providers/hashicorp/time/0.10.0/docs // generated from terraform resource schema diff --git a/src/rotating/index.ts b/src/rotating/index.ts index dc2339d..abf81ba 100644 --- a/src/rotating/index.ts +++ b/src/rotating/index.ts @@ -1,8 +1,3 @@ -/** - * Copyright (c) HashiCorp, Inc. - * SPDX-License-Identifier: MPL-2.0 - */ - // https://registry.terraform.io/providers/hashicorp/time/0.10.0/docs/resources/rotating // generated from terraform resource schema diff --git a/src/sleep/index.ts b/src/sleep/index.ts index f061204..7752333 100644 --- a/src/sleep/index.ts +++ b/src/sleep/index.ts @@ -1,8 +1,3 @@ -/** - * Copyright (c) HashiCorp, Inc. - * SPDX-License-Identifier: MPL-2.0 - */ - // https://registry.terraform.io/providers/hashicorp/time/0.10.0/docs/resources/sleep // generated from terraform resource schema diff --git a/src/static-resource/index.ts b/src/static-resource/index.ts index 16290f2..26d49dd 100644 --- a/src/static-resource/index.ts +++ b/src/static-resource/index.ts @@ -1,8 +1,3 @@ -/** - * Copyright (c) HashiCorp, Inc. - * SPDX-License-Identifier: MPL-2.0 - */ - // https://registry.terraform.io/providers/hashicorp/time/0.10.0/docs/resources/static // generated from terraform resource schema diff --git a/yarn.lock b/yarn.lock index 48131a7..536de58 100644 --- a/yarn.lock +++ b/yarn.lock @@ -201,9 +201,9 @@ jsii-srcmak "^0.1.954" "@cdktf/provider-project@^0.5.0": - version "0.5.0" - resolved "https://registry.yarnpkg.com/@cdktf/provider-project/-/provider-project-0.5.0.tgz#516a12d2ee203cc428069f228cdf29a6a470205c" - integrity sha512-HiIkwen1BSk5pM3CJf88i2xOAwqFvm5b7Ow6w5As5dI9riYtHTU0aZ2ONOHnCzKyfj0UXGIWDKJKvzCJP9VgcQ== + version "0.5.3" + resolved "https://registry.yarnpkg.com/@cdktf/provider-project/-/provider-project-0.5.3.tgz#09cf130a611791b6a0984409107afd5b5527a91c" + integrity sha512-6UyY84u6A+f0Xsel0kabsqQN4srBIwa4/BFHuZqmSW4DqVbYobd+9wj3EF/Fd0HGnR9elOvZw86WP9zOCIovHA== dependencies: change-case "^4.1.2" fs-extra "^10.1.0" From 940ceccd1d01e8f640303b6c7e8898a1e20a018d Mon Sep 17 00:00:00 2001 From: team-tf-cdk Date: Tue, 19 Dec 2023 15:04:18 +0000 Subject: [PATCH 2/2] chore: self mutation Signed-off-by: team-tf-cdk --- docs/offset.go.md | 12 ++++++------ docs/provider.go.md | 12 ++++++------ docs/rotating.go.md | 12 ++++++------ docs/sleep.go.md | 12 ++++++------ docs/staticResource.go.md | 12 ++++++------ src/index.ts | 5 +++++ src/lazy-index.ts | 5 +++++ src/offset/index.ts | 5 +++++ src/provider/index.ts | 5 +++++ src/rotating/index.ts | 5 +++++ src/sleep/index.ts | 5 +++++ src/static-resource/index.ts | 5 +++++ 12 files changed, 65 insertions(+), 30 deletions(-) diff --git a/docs/offset.go.md b/docs/offset.go.md index 2e7cf7b..031eeaa 100644 --- a/docs/offset.go.md +++ b/docs/offset.go.md @@ -9,7 +9,7 @@ Represents a {@link https://registry.terraform.io/providers/hashicorp/time/0.10. #### Initializers ```go -import "github.com/cdktf/cdktf-provider-time-go/time/offset" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/offset" offset.NewOffset(scope Construct, id *string, config OffsetConfig) Offset ``` @@ -427,7 +427,7 @@ func ResetTriggers() ##### `IsConstruct` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/offset" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/offset" offset.Offset_IsConstruct(x interface{}) *bool ``` @@ -459,7 +459,7 @@ Any object. ##### `IsTerraformElement` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/offset" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/offset" offset.Offset_IsTerraformElement(x interface{}) *bool ``` @@ -473,7 +473,7 @@ offset.Offset_IsTerraformElement(x interface{}) *bool ##### `IsTerraformResource` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/offset" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/offset" offset.Offset_IsTerraformResource(x interface{}) *bool ``` @@ -487,7 +487,7 @@ offset.Offset_IsTerraformResource(x interface{}) *bool ##### `GenerateConfigForImport` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/offset" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/offset" offset.Offset_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource ``` @@ -991,7 +991,7 @@ func TfResourceType() *string #### Initializer ```go -import "github.com/cdktf/cdktf-provider-time-go/time/offset" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/offset" &offset.OffsetConfig { Connection: interface{}, diff --git a/docs/provider.go.md b/docs/provider.go.md index 425e97c..8698761 100644 --- a/docs/provider.go.md +++ b/docs/provider.go.md @@ -9,7 +9,7 @@ Represents a {@link https://registry.terraform.io/providers/hashicorp/time/0.10. #### Initializers ```go -import "github.com/cdktf/cdktf-provider-time-go/time/provider" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/provider" provider.NewTimeProvider(scope Construct, id *string, config TimeProviderConfig) TimeProvider ``` @@ -144,7 +144,7 @@ func ResetAlias() ##### `IsConstruct` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/provider" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/provider" provider.TimeProvider_IsConstruct(x interface{}) *bool ``` @@ -176,7 +176,7 @@ Any object. ##### `IsTerraformElement` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/provider" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/provider" provider.TimeProvider_IsTerraformElement(x interface{}) *bool ``` @@ -190,7 +190,7 @@ provider.TimeProvider_IsTerraformElement(x interface{}) *bool ##### `IsTerraformProvider` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/provider" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/provider" provider.TimeProvider_IsTerraformProvider(x interface{}) *bool ``` @@ -204,7 +204,7 @@ provider.TimeProvider_IsTerraformProvider(x interface{}) *bool ##### `GenerateConfigForImport` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/provider" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/provider" provider.TimeProvider_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource ``` @@ -389,7 +389,7 @@ func TfResourceType() *string #### Initializer ```go -import "github.com/cdktf/cdktf-provider-time-go/time/provider" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/provider" &provider.TimeProviderConfig { Alias: *string, diff --git a/docs/rotating.go.md b/docs/rotating.go.md index dfe31ff..760788e 100644 --- a/docs/rotating.go.md +++ b/docs/rotating.go.md @@ -9,7 +9,7 @@ Represents a {@link https://registry.terraform.io/providers/hashicorp/time/0.10. #### Initializers ```go -import "github.com/cdktf/cdktf-provider-time-go/time/rotating" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/rotating" rotating.NewRotating(scope Construct, id *string, config RotatingConfig) Rotating ``` @@ -427,7 +427,7 @@ func ResetTriggers() ##### `IsConstruct` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/rotating" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/rotating" rotating.Rotating_IsConstruct(x interface{}) *bool ``` @@ -459,7 +459,7 @@ Any object. ##### `IsTerraformElement` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/rotating" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/rotating" rotating.Rotating_IsTerraformElement(x interface{}) *bool ``` @@ -473,7 +473,7 @@ rotating.Rotating_IsTerraformElement(x interface{}) *bool ##### `IsTerraformResource` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/rotating" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/rotating" rotating.Rotating_IsTerraformResource(x interface{}) *bool ``` @@ -487,7 +487,7 @@ rotating.Rotating_IsTerraformResource(x interface{}) *bool ##### `GenerateConfigForImport` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/rotating" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/rotating" rotating.Rotating_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource ``` @@ -980,7 +980,7 @@ func TfResourceType() *string #### Initializer ```go -import "github.com/cdktf/cdktf-provider-time-go/time/rotating" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/rotating" &rotating.RotatingConfig { Connection: interface{}, diff --git a/docs/sleep.go.md b/docs/sleep.go.md index 8ee7d90..2e73344 100644 --- a/docs/sleep.go.md +++ b/docs/sleep.go.md @@ -9,7 +9,7 @@ Represents a {@link https://registry.terraform.io/providers/hashicorp/time/0.10. #### Initializers ```go -import "github.com/cdktf/cdktf-provider-time-go/time/sleep" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/sleep" sleep.NewSleep(scope Construct, id *string, config SleepConfig) Sleep ``` @@ -392,7 +392,7 @@ func ResetTriggers() ##### `IsConstruct` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/sleep" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/sleep" sleep.Sleep_IsConstruct(x interface{}) *bool ``` @@ -424,7 +424,7 @@ Any object. ##### `IsTerraformElement` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/sleep" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/sleep" sleep.Sleep_IsTerraformElement(x interface{}) *bool ``` @@ -438,7 +438,7 @@ sleep.Sleep_IsTerraformElement(x interface{}) *bool ##### `IsTerraformResource` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/sleep" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/sleep" sleep.Sleep_IsTerraformResource(x interface{}) *bool ``` @@ -452,7 +452,7 @@ sleep.Sleep_IsTerraformResource(x interface{}) *bool ##### `GenerateConfigForImport` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/sleep" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/sleep" sleep.Sleep_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource ``` @@ -758,7 +758,7 @@ func TfResourceType() *string #### Initializer ```go -import "github.com/cdktf/cdktf-provider-time-go/time/sleep" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/sleep" &sleep.SleepConfig { Connection: interface{}, diff --git a/docs/staticResource.go.md b/docs/staticResource.go.md index a731cf7..4a98425 100644 --- a/docs/staticResource.go.md +++ b/docs/staticResource.go.md @@ -9,7 +9,7 @@ Represents a {@link https://registry.terraform.io/providers/hashicorp/time/0.10. #### Initializers ```go -import "github.com/cdktf/cdktf-provider-time-go/time/staticresource" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/staticresource" staticresource.NewStaticResource(scope Construct, id *string, config StaticResourceConfig) StaticResource ``` @@ -385,7 +385,7 @@ func ResetTriggers() ##### `IsConstruct` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/staticresource" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/staticresource" staticresource.StaticResource_IsConstruct(x interface{}) *bool ``` @@ -417,7 +417,7 @@ Any object. ##### `IsTerraformElement` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/staticresource" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/staticresource" staticresource.StaticResource_IsTerraformElement(x interface{}) *bool ``` @@ -431,7 +431,7 @@ staticresource.StaticResource_IsTerraformElement(x interface{}) *bool ##### `IsTerraformResource` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/staticresource" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/staticresource" staticresource.StaticResource_IsTerraformResource(x interface{}) *bool ``` @@ -445,7 +445,7 @@ staticresource.StaticResource_IsTerraformResource(x interface{}) *bool ##### `GenerateConfigForImport` ```go -import "github.com/cdktf/cdktf-provider-time-go/time/staticresource" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/staticresource" staticresource.StaticResource_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource ``` @@ -806,7 +806,7 @@ func TfResourceType() *string #### Initializer ```go -import "github.com/cdktf/cdktf-provider-time-go/time/staticresource" +import "github.com/cdktf/cdktf-provider-time-go/time/v9/staticresource" &staticresource.StaticResourceConfig { Connection: interface{}, diff --git a/src/index.ts b/src/index.ts index a19c979..fb96b20 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // generated by cdktf get export * as offset from './offset'; export * as rotating from './rotating'; diff --git a/src/lazy-index.ts b/src/lazy-index.ts index 4b921bf..2727477 100644 --- a/src/lazy-index.ts +++ b/src/lazy-index.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // generated by cdktf get Object.defineProperty(exports, 'offset', { get: function () { return require('./offset'); } }); Object.defineProperty(exports, 'rotating', { get: function () { return require('./rotating'); } }); diff --git a/src/offset/index.ts b/src/offset/index.ts index c394b08..7c297e0 100644 --- a/src/offset/index.ts +++ b/src/offset/index.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // https://registry.terraform.io/providers/hashicorp/time/0.10.0/docs/resources/offset // generated from terraform resource schema diff --git a/src/provider/index.ts b/src/provider/index.ts index 5ad2ba6..885314a 100644 --- a/src/provider/index.ts +++ b/src/provider/index.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // https://registry.terraform.io/providers/hashicorp/time/0.10.0/docs // generated from terraform resource schema diff --git a/src/rotating/index.ts b/src/rotating/index.ts index abf81ba..dc2339d 100644 --- a/src/rotating/index.ts +++ b/src/rotating/index.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // https://registry.terraform.io/providers/hashicorp/time/0.10.0/docs/resources/rotating // generated from terraform resource schema diff --git a/src/sleep/index.ts b/src/sleep/index.ts index 7752333..f061204 100644 --- a/src/sleep/index.ts +++ b/src/sleep/index.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // https://registry.terraform.io/providers/hashicorp/time/0.10.0/docs/resources/sleep // generated from terraform resource schema diff --git a/src/static-resource/index.ts b/src/static-resource/index.ts index 26d49dd..16290f2 100644 --- a/src/static-resource/index.ts +++ b/src/static-resource/index.ts @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // https://registry.terraform.io/providers/hashicorp/time/0.10.0/docs/resources/static // generated from terraform resource schema