Skip to content

Commit

Permalink
Merge pull request #144 from cdktf/update-cdktf-version
Browse files Browse the repository at this point in the history
feat!: upgrade cdktf version
  • Loading branch information
DanielMSchmidt authored Oct 19, 2022
2 parents eddf643 + 32224c4 commit 0b1f2c2
Show file tree
Hide file tree
Showing 18 changed files with 790 additions and 775 deletions.
6 changes: 3 additions & 3 deletions .projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions .projen/tasks.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .projenrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const { CdktfProviderProject } = require("@cdktf/provider-project");
const project = new CdktfProviderProject({
useCustomGithubRunner: false,
terraformProvider: "hashicorp/time@~> 0.7",
cdktfVersion: ">=0.12.2 <0.14.0",
cdktfVersion: "^0.13.0",
constructsVersion: "^10.0.0",
minNodeVersion: "14.17.0",
jsiiVersion: "^1.53.0",
Expand Down
1,486 changes: 743 additions & 743 deletions API.md

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// generated by cdktf get
export * from './offset';
export * from './rotating';
export * from './sleep';
export * from './static';
export * from './time-provider';
export * as offset from './offset';
export * as rotating from './rotating';
export * as sleep from './sleep';
export * as staticResource from './static-resource';
export * as provider from './provider';

3 changes: 3 additions & 0 deletions src/offset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# `time_offset`

Refer to the Terraform Registory for docs: [`time_offset`](https://www.terraform.io/docs/providers/time/r/offset).
2 changes: 1 addition & 1 deletion src/offset.ts → src/offset/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class Offset extends cdktf.TerraformResource {
terraformResourceType: 'time_offset',
terraformGeneratorMetadata: {
providerName: 'time',
providerVersion: '0.8.0',
providerVersion: '0.9.0',
providerVersionConstraint: '~> 0.7'
},
provider: config.provider,
Expand Down
3 changes: 3 additions & 0 deletions src/provider/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# `provider`

Refer to the Terraform Registory for docs: [`time`](https://www.terraform.io/docs/providers/time).
2 changes: 1 addition & 1 deletion src/time-provider.ts → src/provider/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class TimeProvider extends cdktf.TerraformProvider {
terraformResourceType: 'time',
terraformGeneratorMetadata: {
providerName: 'time',
providerVersion: '0.8.0',
providerVersion: '0.9.0',
providerVersionConstraint: '~> 0.7'
},
terraformProviderSource: 'hashicorp/time'
Expand Down
3 changes: 3 additions & 0 deletions src/rotating/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# `time_rotating`

Refer to the Terraform Registory for docs: [`time_rotating`](https://www.terraform.io/docs/providers/time/r/rotating).
2 changes: 1 addition & 1 deletion src/rotating.ts → src/rotating/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class Rotating extends cdktf.TerraformResource {
terraformResourceType: 'time_rotating',
terraformGeneratorMetadata: {
providerName: 'time',
providerVersion: '0.8.0',
providerVersion: '0.9.0',
providerVersionConstraint: '~> 0.7'
},
provider: config.provider,
Expand Down
3 changes: 3 additions & 0 deletions src/sleep/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# `time_sleep`

Refer to the Terraform Registory for docs: [`time_sleep`](https://www.terraform.io/docs/providers/time/r/sleep).
2 changes: 1 addition & 1 deletion src/sleep.ts → src/sleep/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class Sleep extends cdktf.TerraformResource {
terraformResourceType: 'time_sleep',
terraformGeneratorMetadata: {
providerName: 'time',
providerVersion: '0.8.0',
providerVersion: '0.9.0',
providerVersionConstraint: '~> 0.7'
},
provider: config.provider,
Expand Down
3 changes: 3 additions & 0 deletions src/static-resource/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# `time_static`

Refer to the Terraform Registory for docs: [`time_static`](https://www.terraform.io/docs/providers/time/r/static).
14 changes: 7 additions & 7 deletions src/static.ts → src/static-resource/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,25 @@ import * as cdktf from 'cdktf';

// Configuration

export interface StaticConfig extends cdktf.TerraformMetaArguments {
export interface StaticResourceConfig extends cdktf.TerraformMetaArguments {
/**
* Base timestamp in [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.8) format (see [RFC3339 time string](https://tools.ietf.org/html/rfc3339#section-5.8) e.g., `YYYY-MM-DDTHH:MM:SSZ`). Defaults to the current time.
*
* Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/time/r/static#rfc3339 Static#rfc3339}
* Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/time/r/static#rfc3339 StaticResource#rfc3339}
*/
readonly rfc3339?: string;
/**
* Arbitrary map of values that, when changed, will trigger a new base timestamp value to be saved. See [the main provider documentation](../index.md) for more information.
*
* Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/time/r/static#triggers Static#triggers}
* Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/time/r/static#triggers StaticResource#triggers}
*/
readonly triggers?: { [key: string]: string };
}

/**
* Represents a {@link https://www.terraform.io/docs/providers/time/r/static time_static}
*/
export class Static extends cdktf.TerraformResource {
export class StaticResource extends cdktf.TerraformResource {

// =================
// STATIC PROPERTIES
Expand All @@ -40,14 +40,14 @@ export class Static extends cdktf.TerraformResource {
*
* @param scope The scope in which to define this construct
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
* @param options StaticConfig = {}
* @param options StaticResourceConfig = {}
*/
public constructor(scope: Construct, id: string, config: StaticConfig = {}) {
public constructor(scope: Construct, id: string, config: StaticResourceConfig = {}) {
super(scope, id, {
terraformResourceType: 'time_static',
terraformGeneratorMetadata: {
providerName: 'time',
providerVersion: '0.8.0',
providerVersion: '0.9.0',
providerVersionConstraint: '~> 0.7'
},
provider: config.provider,
Expand Down
2 changes: 1 addition & 1 deletion src/version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"registry.terraform.io/hashicorp/time": "0.8.0"
"registry.terraform.io/hashicorp/time": "0.9.0"
}
4 changes: 2 additions & 2 deletions yarn.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0b1f2c2

Please sign in to comment.