Skip to content

Commit

Permalink
Merge pull request #15 from hashicorp/upgrade-provider-project-52
Browse files Browse the repository at this point in the history
  • Loading branch information
team-tf-cdk authored Oct 19, 2021
2 parents 7526f82 + cde1edb commit 4401924
Show file tree
Hide file tree
Showing 9 changed files with 203 additions and 90 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.

11 changes: 1 addition & 10 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
@@ -1,7 +1,7 @@
const { CdktfProviderProject } = require('@cdktf/provider-project');
const project = new CdktfProviderProject({
terraformProvider: "hashicorp/local@~> 2.1",
cdktfVersion: '^0.6',
cdktfVersion: '^0.7',
constructsVersion: "^10.0.0",
minNodeVersion: "12.19.0"
});
Expand Down
32 changes: 16 additions & 16 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ Must be unique amongst siblings in the same scope

---

##### `filenameInput`<sup>Required</sup> <a name="@cdktf/provider-local.DataLocalFile.property.filenameInput"></a>
##### `id`<sup>Required</sup> <a name="@cdktf/provider-local.DataLocalFile.property.id"></a>

- *Type:* `string`

---

##### `id`<sup>Required</sup> <a name="@cdktf/provider-local.DataLocalFile.property.id"></a>
##### `filenameInput`<sup>Optional</sup> <a name="@cdktf/provider-local.DataLocalFile.property.filenameInput"></a>

- *Type:* `string`

Expand Down Expand Up @@ -157,31 +157,31 @@ public resetSource()

#### Properties <a name="Properties"></a>

##### `filenameInput`<sup>Required</sup> <a name="@cdktf/provider-local.File.property.filenameInput"></a>
##### `id`<sup>Required</sup> <a name="@cdktf/provider-local.File.property.id"></a>

- *Type:* `string`

---

##### `id`<sup>Required</sup> <a name="@cdktf/provider-local.File.property.id"></a>
##### `contentBase64Input`<sup>Optional</sup> <a name="@cdktf/provider-local.File.property.contentBase64Input"></a>

- *Type:* `string`

---

##### `contentBase64Input`<sup>Optional</sup> <a name="@cdktf/provider-local.File.property.contentBase64Input"></a>
##### `contentInput`<sup>Optional</sup> <a name="@cdktf/provider-local.File.property.contentInput"></a>

- *Type:* `string`

---

##### `contentInput`<sup>Optional</sup> <a name="@cdktf/provider-local.File.property.contentInput"></a>
##### `directoryPermissionInput`<sup>Optional</sup> <a name="@cdktf/provider-local.File.property.directoryPermissionInput"></a>

- *Type:* `string`

---

##### `directoryPermissionInput`<sup>Optional</sup> <a name="@cdktf/provider-local.File.property.directoryPermissionInput"></a>
##### `filenameInput`<sup>Optional</sup> <a name="@cdktf/provider-local.File.property.filenameInput"></a>

- *Type:* `string`

Expand All @@ -205,43 +205,43 @@ public resetSource()

---

##### `content`<sup>Required</sup> <a name="@cdktf/provider-local.File.property.content"></a>
##### `filename`<sup>Required</sup> <a name="@cdktf/provider-local.File.property.filename"></a>

- *Type:* `string`

---

##### `contentBase64`<sup>Required</sup> <a name="@cdktf/provider-local.File.property.contentBase64"></a>
##### `content`<sup>Optional</sup> <a name="@cdktf/provider-local.File.property.content"></a>

- *Type:* `string`

---

##### `directoryPermission`<sup>Required</sup> <a name="@cdktf/provider-local.File.property.directoryPermission"></a>
##### `contentBase64`<sup>Optional</sup> <a name="@cdktf/provider-local.File.property.contentBase64"></a>

- *Type:* `string`

---

##### `filename`<sup>Required</sup> <a name="@cdktf/provider-local.File.property.filename"></a>
##### `directoryPermission`<sup>Optional</sup> <a name="@cdktf/provider-local.File.property.directoryPermission"></a>

- *Type:* `string`

---

##### `filePermission`<sup>Required</sup> <a name="@cdktf/provider-local.File.property.filePermission"></a>
##### `filePermission`<sup>Optional</sup> <a name="@cdktf/provider-local.File.property.filePermission"></a>

- *Type:* `string`

---

##### `sensitiveContent`<sup>Required</sup> <a name="@cdktf/provider-local.File.property.sensitiveContent"></a>
##### `sensitiveContent`<sup>Optional</sup> <a name="@cdktf/provider-local.File.property.sensitiveContent"></a>

- *Type:* `string`

---

##### `source`<sup>Required</sup> <a name="@cdktf/provider-local.File.property.source"></a>
##### `source`<sup>Optional</sup> <a name="@cdktf/provider-local.File.property.source"></a>

- *Type:* `string`

Expand Down Expand Up @@ -336,7 +336,7 @@ const dataLocalFileConfig: DataLocalFileConfig = { ... }

##### `count`<sup>Optional</sup> <a name="@cdktf/provider-local.DataLocalFileConfig.property.count"></a>

- *Type:* `number`
- *Type:* `number` | [`cdktf.IResolvable`](#cdktf.IResolvable)

---

Expand Down Expand Up @@ -380,7 +380,7 @@ const fileConfig: FileConfig = { ... }

##### `count`<sup>Optional</sup> <a name="@cdktf/provider-local.FileConfig.property.count"></a>

- *Type:* `number`
- *Type:* `number` | [`cdktf.IResolvable`](#cdktf.IResolvable)

---

Expand Down
9 changes: 4 additions & 5 deletions package.json

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

2 changes: 1 addition & 1 deletion src/data-local-file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class DataLocalFile extends cdktf.TerraformDataSource {
}

// filename - computed: false, optional: false, required: true
private _filename: string;
private _filename?: string;
public get filename() {
return this.getStringAttribute('filename');
}
Expand Down
26 changes: 13 additions & 13 deletions src/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ export class File extends cdktf.TerraformResource {
// ==========

// content - computed: false, optional: true, required: false
private _content?: string;
private _content?: string | undefined;
public get content() {
return this.getStringAttribute('content');
}
public set content(value: string ) {
public set content(value: string | undefined) {
this._content = value;
}
public resetContent() {
Expand All @@ -107,11 +107,11 @@ export class File extends cdktf.TerraformResource {
}

// content_base64 - computed: false, optional: true, required: false
private _contentBase64?: string;
private _contentBase64?: string | undefined;
public get contentBase64() {
return this.getStringAttribute('content_base64');
}
public set contentBase64(value: string ) {
public set contentBase64(value: string | undefined) {
this._contentBase64 = value;
}
public resetContentBase64() {
Expand All @@ -123,11 +123,11 @@ export class File extends cdktf.TerraformResource {
}

// directory_permission - computed: false, optional: true, required: false
private _directoryPermission?: string;
private _directoryPermission?: string | undefined;
public get directoryPermission() {
return this.getStringAttribute('directory_permission');
}
public set directoryPermission(value: string ) {
public set directoryPermission(value: string | undefined) {
this._directoryPermission = value;
}
public resetDirectoryPermission() {
Expand All @@ -139,11 +139,11 @@ export class File extends cdktf.TerraformResource {
}

// file_permission - computed: false, optional: true, required: false
private _filePermission?: string;
private _filePermission?: string | undefined;
public get filePermission() {
return this.getStringAttribute('file_permission');
}
public set filePermission(value: string ) {
public set filePermission(value: string | undefined) {
this._filePermission = value;
}
public resetFilePermission() {
Expand All @@ -155,7 +155,7 @@ export class File extends cdktf.TerraformResource {
}

// filename - computed: false, optional: false, required: true
private _filename: string;
private _filename?: string;
public get filename() {
return this.getStringAttribute('filename');
}
Expand All @@ -173,11 +173,11 @@ export class File extends cdktf.TerraformResource {
}

// sensitive_content - computed: false, optional: true, required: false
private _sensitiveContent?: string;
private _sensitiveContent?: string | undefined;
public get sensitiveContent() {
return this.getStringAttribute('sensitive_content');
}
public set sensitiveContent(value: string ) {
public set sensitiveContent(value: string | undefined) {
this._sensitiveContent = value;
}
public resetSensitiveContent() {
Expand All @@ -189,11 +189,11 @@ export class File extends cdktf.TerraformResource {
}

// source - computed: false, optional: true, required: false
private _source?: string;
private _source?: string | undefined;
public get source() {
return this.getStringAttribute('source');
}
public set source(value: string ) {
public set source(value: string | undefined) {
this._source = value;
}
public resetSource() {
Expand Down
4 changes: 2 additions & 2 deletions src/local-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ export class LocalProvider extends cdktf.TerraformProvider {
// ==========

// alias - computed: false, optional: true, required: false
private _alias?: string;
private _alias?: string | undefined;
public get alias() {
return this._alias;
}
public set alias(value: string | undefined) {
public set alias(value: string | undefined| undefined) {
this._alias = value;
}
public resetAlias() {
Expand Down
Loading

0 comments on commit 4401924

Please sign in to comment.