diff --git a/docs/dataArchiveFile.csharp.md b/docs/dataArchiveFile.csharp.md index 19266d78..47a98548 100644 --- a/docs/dataArchiveFile.csharp.md +++ b/docs/dataArchiveFile.csharp.md @@ -1,6 +1,6 @@ # `data_archive_file` -Refer to the Terraform Registory for docs: [`data_archive_file`](https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file). +Refer to the Terraform Registory for docs: [`data_archive_file`](https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file). # `dataArchiveFile` Submodule @@ -8,7 +8,7 @@ Refer to the Terraform Registory for docs: [`data_archive_file`](https://registr ### DataArchiveFile -Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file archive_file}. +Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file archive_file}. #### Initializers @@ -72,6 +72,7 @@ Must be unique amongst siblings in the same scope | InterpolationForAttribute | *No description.* | | PutSource | *No description.* | | ResetExcludes | *No description.* | +| ResetExcludeSymlinkDirectories | *No description.* | | ResetOutputFileMode | *No description.* | | ResetSource | *No description.* | | ResetSourceContent | *No description.* | @@ -283,6 +284,12 @@ private void PutSource(object Value) private void ResetExcludes() ``` +##### `ResetExcludeSymlinkDirectories` + +```csharp +private void ResetExcludeSymlinkDirectories() +``` + ##### `ResetOutputFileMode` ```csharp @@ -407,11 +414,15 @@ DataArchiveFile.IsTerraformDataSource(object X); | Provider | HashiCorp.Cdktf.TerraformProvider | *No description.* | | Id | string | *No description.* | | OutputBase64Sha256 | string | *No description.* | +| OutputBase64Sha512 | string | *No description.* | | OutputMd5 | string | *No description.* | | OutputSha | string | *No description.* | +| OutputSha256 | string | *No description.* | +| OutputSha512 | string | *No description.* | | OutputSize | double | *No description.* | | Source | DataArchiveFileSourceList | *No description.* | | ExcludesInput | string[] | *No description.* | +| ExcludeSymlinkDirectoriesInput | object | *No description.* | | OutputFileModeInput | string | *No description.* | | OutputPathInput | string | *No description.* | | SourceContentFilenameInput | string | *No description.* | @@ -421,6 +432,7 @@ DataArchiveFile.IsTerraformDataSource(object X); | SourceInput | object | *No description.* | | TypeInput | string | *No description.* | | Excludes | string[] | *No description.* | +| ExcludeSymlinkDirectories | object | *No description.* | | OutputFileMode | string | *No description.* | | OutputPath | string | *No description.* | | SourceContent | string | *No description.* | @@ -573,6 +585,16 @@ public string OutputBase64Sha256 { get; } --- +##### `OutputBase64Sha512`Required + +```csharp +public string OutputBase64Sha512 { get; } +``` + +- *Type:* string + +--- + ##### `OutputMd5`Required ```csharp @@ -593,6 +615,26 @@ public string OutputSha { get; } --- +##### `OutputSha256`Required + +```csharp +public string OutputSha256 { get; } +``` + +- *Type:* string + +--- + +##### `OutputSha512`Required + +```csharp +public string OutputSha512 { get; } +``` + +- *Type:* string + +--- + ##### `OutputSize`Required ```csharp @@ -623,6 +665,16 @@ public string[] ExcludesInput { get; } --- +##### `ExcludeSymlinkDirectoriesInput`Optional + +```csharp +public object ExcludeSymlinkDirectoriesInput { get; } +``` + +- *Type:* object + +--- + ##### `OutputFileModeInput`Optional ```csharp @@ -713,6 +765,16 @@ public string[] Excludes { get; } --- +##### `ExcludeSymlinkDirectories`Required + +```csharp +public object ExcludeSymlinkDirectories { get; } +``` + +- *Type:* object + +--- + ##### `OutputFileMode`Required ```csharp @@ -821,6 +883,7 @@ new DataArchiveFileConfig { string OutputPath, string Type, string[] Excludes = null, + object ExcludeSymlinkDirectories = null, string OutputFileMode = null, object Source = null, string SourceContent = null, @@ -844,6 +907,7 @@ new DataArchiveFileConfig { | OutputPath | string | The output of the archive file. | | Type | string | The type of archive to generate. NOTE: `zip` is supported. | | Excludes | string[] | Specify files to ignore when reading the `source_dir`. | +| ExcludeSymlinkDirectories | object | Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. | | OutputFileMode | string | String that specifies the octal file mode for all archived files. | | Source | object | source block. | | SourceContent | string | Add only this content to the archive with `source_content_filename` as the filename. | @@ -933,7 +997,7 @@ public string OutputPath { get; set; } The output of the archive file. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#output_path DataArchiveFile#output_path} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#output_path DataArchiveFile#output_path} --- @@ -947,7 +1011,7 @@ public string Type { get; set; } The type of archive to generate. NOTE: `zip` is supported. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#type DataArchiveFile#type} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#type DataArchiveFile#type} --- @@ -961,7 +1025,21 @@ public string[] Excludes { get; set; } Specify files to ignore when reading the `source_dir`. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#excludes DataArchiveFile#excludes} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#excludes DataArchiveFile#excludes} + +--- + +##### `ExcludeSymlinkDirectories`Optional + +```csharp +public object ExcludeSymlinkDirectories { get; set; } +``` + +- *Type:* object + +Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. + +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#exclude_symlink_directories DataArchiveFile#exclude_symlink_directories} --- @@ -977,7 +1055,7 @@ String that specifies the octal file mode for all archived files. For example: `"0666"`. Setting this will ensure that cross platform usage of this module will not vary the modes of archived files (and ultimately checksums) resulting in more deterministic behavior. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#output_file_mode DataArchiveFile#output_file_mode} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#output_file_mode DataArchiveFile#output_file_mode} --- @@ -991,7 +1069,7 @@ public object Source { get; set; } source block. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source DataArchiveFile#source} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source DataArchiveFile#source} --- @@ -1007,7 +1085,7 @@ Add only this content to the archive with `source_content_filename` as the filen One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_content DataArchiveFile#source_content} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_content DataArchiveFile#source_content} --- @@ -1023,7 +1101,7 @@ Set this as the filename when using `source_content`. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_content_filename DataArchiveFile#source_content_filename} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_content_filename DataArchiveFile#source_content_filename} --- @@ -1039,7 +1117,7 @@ Package entire contents of this directory into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_dir DataArchiveFile#source_dir} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_dir DataArchiveFile#source_dir} --- @@ -1055,7 +1133,7 @@ Package this file into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_file DataArchiveFile#source_file} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_file DataArchiveFile#source_file} --- @@ -1091,7 +1169,7 @@ public string Content { get; set; } Add this content to the archive with `filename` as the filename. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#content DataArchiveFile#content} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#content DataArchiveFile#content} --- @@ -1105,7 +1183,7 @@ public string Filename { get; set; } Set this as the filename when declaring a `source`. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#filename DataArchiveFile#filename} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#filename DataArchiveFile#filename} --- diff --git a/docs/dataArchiveFile.go.md b/docs/dataArchiveFile.go.md index fe984209..d215b9c4 100644 --- a/docs/dataArchiveFile.go.md +++ b/docs/dataArchiveFile.go.md @@ -1,6 +1,6 @@ # `data_archive_file` -Refer to the Terraform Registory for docs: [`data_archive_file`](https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file). +Refer to the Terraform Registory for docs: [`data_archive_file`](https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file). # `dataArchiveFile` Submodule @@ -8,7 +8,7 @@ Refer to the Terraform Registory for docs: [`data_archive_file`](https://registr ### DataArchiveFile -Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file archive_file}. +Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file archive_file}. #### Initializers @@ -72,6 +72,7 @@ Must be unique amongst siblings in the same scope | InterpolationForAttribute | *No description.* | | PutSource | *No description.* | | ResetExcludes | *No description.* | +| ResetExcludeSymlinkDirectories | *No description.* | | ResetOutputFileMode | *No description.* | | ResetSource | *No description.* | | ResetSourceContent | *No description.* | @@ -283,6 +284,12 @@ func PutSource(value interface{}) func ResetExcludes() ``` +##### `ResetExcludeSymlinkDirectories` + +```go +func ResetExcludeSymlinkDirectories() +``` + ##### `ResetOutputFileMode` ```go @@ -407,11 +414,15 @@ dataarchivefile.DataArchiveFile_IsTerraformDataSource(x interface{}) *bool | Provider | github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider | *No description.* | | Id | *string | *No description.* | | OutputBase64Sha256 | *string | *No description.* | +| OutputBase64Sha512 | *string | *No description.* | | OutputMd5 | *string | *No description.* | | OutputSha | *string | *No description.* | +| OutputSha256 | *string | *No description.* | +| OutputSha512 | *string | *No description.* | | OutputSize | *f64 | *No description.* | | Source | DataArchiveFileSourceList | *No description.* | | ExcludesInput | *[]*string | *No description.* | +| ExcludeSymlinkDirectoriesInput | interface{} | *No description.* | | OutputFileModeInput | *string | *No description.* | | OutputPathInput | *string | *No description.* | | SourceContentFilenameInput | *string | *No description.* | @@ -421,6 +432,7 @@ dataarchivefile.DataArchiveFile_IsTerraformDataSource(x interface{}) *bool | SourceInput | interface{} | *No description.* | | TypeInput | *string | *No description.* | | Excludes | *[]*string | *No description.* | +| ExcludeSymlinkDirectories | interface{} | *No description.* | | OutputFileMode | *string | *No description.* | | OutputPath | *string | *No description.* | | SourceContent | *string | *No description.* | @@ -573,6 +585,16 @@ func OutputBase64Sha256() *string --- +##### `OutputBase64Sha512`Required + +```go +func OutputBase64Sha512() *string +``` + +- *Type:* *string + +--- + ##### `OutputMd5`Required ```go @@ -593,6 +615,26 @@ func OutputSha() *string --- +##### `OutputSha256`Required + +```go +func OutputSha256() *string +``` + +- *Type:* *string + +--- + +##### `OutputSha512`Required + +```go +func OutputSha512() *string +``` + +- *Type:* *string + +--- + ##### `OutputSize`Required ```go @@ -623,6 +665,16 @@ func ExcludesInput() *[]*string --- +##### `ExcludeSymlinkDirectoriesInput`Optional + +```go +func ExcludeSymlinkDirectoriesInput() interface{} +``` + +- *Type:* interface{} + +--- + ##### `OutputFileModeInput`Optional ```go @@ -713,6 +765,16 @@ func Excludes() *[]*string --- +##### `ExcludeSymlinkDirectories`Required + +```go +func ExcludeSymlinkDirectories() interface{} +``` + +- *Type:* interface{} + +--- + ##### `OutputFileMode`Required ```go @@ -821,6 +883,7 @@ import "github.com/cdktf/cdktf-provider-archive-go/archive/v6/dataarchivefile" OutputPath: *string, Type: *string, Excludes: *[]*string, + ExcludeSymlinkDirectories: interface{}, OutputFileMode: *string, Source: interface{}, SourceContent: *string, @@ -844,6 +907,7 @@ import "github.com/cdktf/cdktf-provider-archive-go/archive/v6/dataarchivefile" | OutputPath | *string | The output of the archive file. | | Type | *string | The type of archive to generate. NOTE: `zip` is supported. | | Excludes | *[]*string | Specify files to ignore when reading the `source_dir`. | +| ExcludeSymlinkDirectories | interface{} | Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. | | OutputFileMode | *string | String that specifies the octal file mode for all archived files. | | Source | interface{} | source block. | | SourceContent | *string | Add only this content to the archive with `source_content_filename` as the filename. | @@ -933,7 +997,7 @@ OutputPath *string The output of the archive file. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#output_path DataArchiveFile#output_path} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#output_path DataArchiveFile#output_path} --- @@ -947,7 +1011,7 @@ Type *string The type of archive to generate. NOTE: `zip` is supported. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#type DataArchiveFile#type} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#type DataArchiveFile#type} --- @@ -961,7 +1025,21 @@ Excludes *[]*string Specify files to ignore when reading the `source_dir`. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#excludes DataArchiveFile#excludes} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#excludes DataArchiveFile#excludes} + +--- + +##### `ExcludeSymlinkDirectories`Optional + +```go +ExcludeSymlinkDirectories interface{} +``` + +- *Type:* interface{} + +Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. + +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#exclude_symlink_directories DataArchiveFile#exclude_symlink_directories} --- @@ -977,7 +1055,7 @@ String that specifies the octal file mode for all archived files. For example: `"0666"`. Setting this will ensure that cross platform usage of this module will not vary the modes of archived files (and ultimately checksums) resulting in more deterministic behavior. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#output_file_mode DataArchiveFile#output_file_mode} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#output_file_mode DataArchiveFile#output_file_mode} --- @@ -991,7 +1069,7 @@ Source interface{} source block. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source DataArchiveFile#source} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source DataArchiveFile#source} --- @@ -1007,7 +1085,7 @@ Add only this content to the archive with `source_content_filename` as the filen One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_content DataArchiveFile#source_content} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_content DataArchiveFile#source_content} --- @@ -1023,7 +1101,7 @@ Set this as the filename when using `source_content`. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_content_filename DataArchiveFile#source_content_filename} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_content_filename DataArchiveFile#source_content_filename} --- @@ -1039,7 +1117,7 @@ Package entire contents of this directory into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_dir DataArchiveFile#source_dir} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_dir DataArchiveFile#source_dir} --- @@ -1055,7 +1133,7 @@ Package this file into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_file DataArchiveFile#source_file} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_file DataArchiveFile#source_file} --- @@ -1091,7 +1169,7 @@ Content *string Add this content to the archive with `filename` as the filename. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#content DataArchiveFile#content} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#content DataArchiveFile#content} --- @@ -1105,7 +1183,7 @@ Filename *string Set this as the filename when declaring a `source`. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#filename DataArchiveFile#filename} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#filename DataArchiveFile#filename} --- diff --git a/docs/dataArchiveFile.java.md b/docs/dataArchiveFile.java.md index ca066810..6830603e 100644 --- a/docs/dataArchiveFile.java.md +++ b/docs/dataArchiveFile.java.md @@ -1,6 +1,6 @@ # `data_archive_file` -Refer to the Terraform Registory for docs: [`data_archive_file`](https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file). +Refer to the Terraform Registory for docs: [`data_archive_file`](https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file). # `dataArchiveFile` Submodule @@ -8,7 +8,7 @@ Refer to the Terraform Registory for docs: [`data_archive_file`](https://registr ### DataArchiveFile -Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file archive_file}. +Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file archive_file}. #### Initializers @@ -30,6 +30,8 @@ DataArchiveFile.Builder.create(Construct scope, java.lang.String id) .outputPath(java.lang.String) .type(java.lang.String) // .excludes(java.util.List) +// .excludeSymlinkDirectories(java.lang.Boolean) +// .excludeSymlinkDirectories(IResolvable) // .outputFileMode(java.lang.String) // .source(IResolvable) // .source(java.util.List) @@ -54,6 +56,7 @@ DataArchiveFile.Builder.create(Construct scope, java.lang.String id) | outputPath | java.lang.String | The output of the archive file. | | type | java.lang.String | The type of archive to generate. NOTE: `zip` is supported. | | excludes | java.util.List | Specify files to ignore when reading the `source_dir`. | +| excludeSymlinkDirectories | java.lang.Boolean OR com.hashicorp.cdktf.IResolvable | Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. | | outputFileMode | java.lang.String | String that specifies the octal file mode for all archived files. | | source | com.hashicorp.cdktf.IResolvable OR java.util.List<DataArchiveFileSource> | source block. | | sourceContent | java.lang.String | Add only this content to the archive with `source_content_filename` as the filename. | @@ -129,7 +132,7 @@ Must be unique amongst siblings in the same scope The output of the archive file. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#output_path DataArchiveFile#output_path} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#output_path DataArchiveFile#output_path} --- @@ -139,7 +142,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi The type of archive to generate. NOTE: `zip` is supported. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#type DataArchiveFile#type} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#type DataArchiveFile#type} --- @@ -149,7 +152,17 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi Specify files to ignore when reading the `source_dir`. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#excludes DataArchiveFile#excludes} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#excludes DataArchiveFile#excludes} + +--- + +##### `excludeSymlinkDirectories`Optional + +- *Type:* java.lang.Boolean OR com.hashicorp.cdktf.IResolvable + +Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. + +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#exclude_symlink_directories DataArchiveFile#exclude_symlink_directories} --- @@ -161,7 +174,7 @@ String that specifies the octal file mode for all archived files. For example: `"0666"`. Setting this will ensure that cross platform usage of this module will not vary the modes of archived files (and ultimately checksums) resulting in more deterministic behavior. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#output_file_mode DataArchiveFile#output_file_mode} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#output_file_mode DataArchiveFile#output_file_mode} --- @@ -171,7 +184,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi source block. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source DataArchiveFile#source} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source DataArchiveFile#source} --- @@ -183,7 +196,7 @@ Add only this content to the archive with `source_content_filename` as the filen One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_content DataArchiveFile#source_content} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_content DataArchiveFile#source_content} --- @@ -195,7 +208,7 @@ Set this as the filename when using `source_content`. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_content_filename DataArchiveFile#source_content_filename} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_content_filename DataArchiveFile#source_content_filename} --- @@ -207,7 +220,7 @@ Package entire contents of this directory into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_dir DataArchiveFile#source_dir} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_dir DataArchiveFile#source_dir} --- @@ -219,7 +232,7 @@ Package this file into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_file DataArchiveFile#source_file} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_file DataArchiveFile#source_file} --- @@ -245,6 +258,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | interpolationForAttribute | *No description.* | | putSource | *No description.* | | resetExcludes | *No description.* | +| resetExcludeSymlinkDirectories | *No description.* | | resetOutputFileMode | *No description.* | | resetSource | *No description.* | | resetSourceContent | *No description.* | @@ -456,6 +470,12 @@ public void putSource(IResolvable OR java.util.List value public void resetExcludes() ``` +##### `resetExcludeSymlinkDirectories` + +```java +public void resetExcludeSymlinkDirectories() +``` + ##### `resetOutputFileMode` ```java @@ -580,11 +600,15 @@ DataArchiveFile.isTerraformDataSource(java.lang.Object x) | provider | com.hashicorp.cdktf.TerraformProvider | *No description.* | | id | java.lang.String | *No description.* | | outputBase64Sha256 | java.lang.String | *No description.* | +| outputBase64Sha512 | java.lang.String | *No description.* | | outputMd5 | java.lang.String | *No description.* | | outputSha | java.lang.String | *No description.* | +| outputSha256 | java.lang.String | *No description.* | +| outputSha512 | java.lang.String | *No description.* | | outputSize | java.lang.Number | *No description.* | | source | DataArchiveFileSourceList | *No description.* | | excludesInput | java.util.List | *No description.* | +| excludeSymlinkDirectoriesInput | java.lang.Boolean OR com.hashicorp.cdktf.IResolvable | *No description.* | | outputFileModeInput | java.lang.String | *No description.* | | outputPathInput | java.lang.String | *No description.* | | sourceContentFilenameInput | java.lang.String | *No description.* | @@ -594,6 +618,7 @@ DataArchiveFile.isTerraformDataSource(java.lang.Object x) | sourceInput | com.hashicorp.cdktf.IResolvable OR java.util.List<DataArchiveFileSource> | *No description.* | | typeInput | java.lang.String | *No description.* | | excludes | java.util.List | *No description.* | +| excludeSymlinkDirectories | java.lang.Boolean OR com.hashicorp.cdktf.IResolvable | *No description.* | | outputFileMode | java.lang.String | *No description.* | | outputPath | java.lang.String | *No description.* | | sourceContent | java.lang.String | *No description.* | @@ -746,6 +771,16 @@ public java.lang.String getOutputBase64Sha256(); --- +##### `outputBase64Sha512`Required + +```java +public java.lang.String getOutputBase64Sha512(); +``` + +- *Type:* java.lang.String + +--- + ##### `outputMd5`Required ```java @@ -766,6 +801,26 @@ public java.lang.String getOutputSha(); --- +##### `outputSha256`Required + +```java +public java.lang.String getOutputSha256(); +``` + +- *Type:* java.lang.String + +--- + +##### `outputSha512`Required + +```java +public java.lang.String getOutputSha512(); +``` + +- *Type:* java.lang.String + +--- + ##### `outputSize`Required ```java @@ -796,6 +851,16 @@ public java.util.List getExcludesInput(); --- +##### `excludeSymlinkDirectoriesInput`Optional + +```java +public java.lang.Object getExcludeSymlinkDirectoriesInput(); +``` + +- *Type:* java.lang.Boolean OR com.hashicorp.cdktf.IResolvable + +--- + ##### `outputFileModeInput`Optional ```java @@ -886,6 +951,16 @@ public java.util.List getExcludes(); --- +##### `excludeSymlinkDirectories`Required + +```java +public java.lang.Object getExcludeSymlinkDirectories(); +``` + +- *Type:* java.lang.Boolean OR com.hashicorp.cdktf.IResolvable + +--- + ##### `outputFileMode`Required ```java @@ -998,6 +1073,8 @@ DataArchiveFileConfig.builder() .outputPath(java.lang.String) .type(java.lang.String) // .excludes(java.util.List) +// .excludeSymlinkDirectories(java.lang.Boolean) +// .excludeSymlinkDirectories(IResolvable) // .outputFileMode(java.lang.String) // .source(IResolvable) // .source(java.util.List) @@ -1022,6 +1099,7 @@ DataArchiveFileConfig.builder() | outputPath | java.lang.String | The output of the archive file. | | type | java.lang.String | The type of archive to generate. NOTE: `zip` is supported. | | excludes | java.util.List | Specify files to ignore when reading the `source_dir`. | +| excludeSymlinkDirectories | java.lang.Boolean OR com.hashicorp.cdktf.IResolvable | Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. | | outputFileMode | java.lang.String | String that specifies the octal file mode for all archived files. | | source | com.hashicorp.cdktf.IResolvable OR java.util.List<DataArchiveFileSource> | source block. | | sourceContent | java.lang.String | Add only this content to the archive with `source_content_filename` as the filename. | @@ -1111,7 +1189,7 @@ public java.lang.String getOutputPath(); The output of the archive file. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#output_path DataArchiveFile#output_path} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#output_path DataArchiveFile#output_path} --- @@ -1125,7 +1203,7 @@ public java.lang.String getType(); The type of archive to generate. NOTE: `zip` is supported. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#type DataArchiveFile#type} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#type DataArchiveFile#type} --- @@ -1139,7 +1217,21 @@ public java.util.List getExcludes(); Specify files to ignore when reading the `source_dir`. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#excludes DataArchiveFile#excludes} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#excludes DataArchiveFile#excludes} + +--- + +##### `excludeSymlinkDirectories`Optional + +```java +public java.lang.Object getExcludeSymlinkDirectories(); +``` + +- *Type:* java.lang.Boolean OR com.hashicorp.cdktf.IResolvable + +Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. + +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#exclude_symlink_directories DataArchiveFile#exclude_symlink_directories} --- @@ -1155,7 +1247,7 @@ String that specifies the octal file mode for all archived files. For example: `"0666"`. Setting this will ensure that cross platform usage of this module will not vary the modes of archived files (and ultimately checksums) resulting in more deterministic behavior. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#output_file_mode DataArchiveFile#output_file_mode} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#output_file_mode DataArchiveFile#output_file_mode} --- @@ -1169,7 +1261,7 @@ public java.lang.Object getSource(); source block. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source DataArchiveFile#source} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source DataArchiveFile#source} --- @@ -1185,7 +1277,7 @@ Add only this content to the archive with `source_content_filename` as the filen One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_content DataArchiveFile#source_content} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_content DataArchiveFile#source_content} --- @@ -1201,7 +1293,7 @@ Set this as the filename when using `source_content`. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_content_filename DataArchiveFile#source_content_filename} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_content_filename DataArchiveFile#source_content_filename} --- @@ -1217,7 +1309,7 @@ Package entire contents of this directory into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_dir DataArchiveFile#source_dir} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_dir DataArchiveFile#source_dir} --- @@ -1233,7 +1325,7 @@ Package this file into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_file DataArchiveFile#source_file} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_file DataArchiveFile#source_file} --- @@ -1269,7 +1361,7 @@ public java.lang.String getContent(); Add this content to the archive with `filename` as the filename. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#content DataArchiveFile#content} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#content DataArchiveFile#content} --- @@ -1283,7 +1375,7 @@ public java.lang.String getFilename(); Set this as the filename when declaring a `source`. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#filename DataArchiveFile#filename} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#filename DataArchiveFile#filename} --- diff --git a/docs/dataArchiveFile.python.md b/docs/dataArchiveFile.python.md index c3b28a0b..e19b6b1b 100644 --- a/docs/dataArchiveFile.python.md +++ b/docs/dataArchiveFile.python.md @@ -1,6 +1,6 @@ # `data_archive_file` -Refer to the Terraform Registory for docs: [`data_archive_file`](https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file). +Refer to the Terraform Registory for docs: [`data_archive_file`](https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file). # `dataArchiveFile` Submodule @@ -8,7 +8,7 @@ Refer to the Terraform Registory for docs: [`data_archive_file`](https://registr ### DataArchiveFile -Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file archive_file}. +Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file archive_file}. #### Initializers @@ -28,6 +28,7 @@ dataArchiveFile.DataArchiveFile( output_path: str, type: str, excludes: typing.List[str] = None, + exclude_symlink_directories: typing.Union[bool, IResolvable] = None, output_file_mode: str = None, source: typing.Union[IResolvable, typing.List[DataArchiveFileSource]] = None, source_content: str = None, @@ -51,6 +52,7 @@ dataArchiveFile.DataArchiveFile( | output_path | str | The output of the archive file. | | type | str | The type of archive to generate. NOTE: `zip` is supported. | | excludes | typing.List[str] | Specify files to ignore when reading the `source_dir`. | +| exclude_symlink_directories | typing.Union[bool, cdktf.IResolvable] | Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. | | output_file_mode | str | String that specifies the octal file mode for all archived files. | | source | typing.Union[cdktf.IResolvable, typing.List[DataArchiveFileSource]] | source block. | | source_content | str | Add only this content to the archive with `source_content_filename` as the filename. | @@ -126,7 +128,7 @@ Must be unique amongst siblings in the same scope The output of the archive file. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#output_path DataArchiveFile#output_path} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#output_path DataArchiveFile#output_path} --- @@ -136,7 +138,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi The type of archive to generate. NOTE: `zip` is supported. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#type DataArchiveFile#type} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#type DataArchiveFile#type} --- @@ -146,7 +148,17 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi Specify files to ignore when reading the `source_dir`. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#excludes DataArchiveFile#excludes} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#excludes DataArchiveFile#excludes} + +--- + +##### `exclude_symlink_directories`Optional + +- *Type:* typing.Union[bool, cdktf.IResolvable] + +Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. + +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#exclude_symlink_directories DataArchiveFile#exclude_symlink_directories} --- @@ -158,7 +170,7 @@ String that specifies the octal file mode for all archived files. For example: `"0666"`. Setting this will ensure that cross platform usage of this module will not vary the modes of archived files (and ultimately checksums) resulting in more deterministic behavior. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#output_file_mode DataArchiveFile#output_file_mode} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#output_file_mode DataArchiveFile#output_file_mode} --- @@ -168,7 +180,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi source block. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source DataArchiveFile#source} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source DataArchiveFile#source} --- @@ -180,7 +192,7 @@ Add only this content to the archive with `source_content_filename` as the filen One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_content DataArchiveFile#source_content} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_content DataArchiveFile#source_content} --- @@ -192,7 +204,7 @@ Set this as the filename when using `source_content`. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_content_filename DataArchiveFile#source_content_filename} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_content_filename DataArchiveFile#source_content_filename} --- @@ -204,7 +216,7 @@ Package entire contents of this directory into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_dir DataArchiveFile#source_dir} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_dir DataArchiveFile#source_dir} --- @@ -216,7 +228,7 @@ Package this file into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_file DataArchiveFile#source_file} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_file DataArchiveFile#source_file} --- @@ -242,6 +254,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | interpolation_for_attribute | *No description.* | | put_source | *No description.* | | reset_excludes | *No description.* | +| reset_exclude_symlink_directories | *No description.* | | reset_output_file_mode | *No description.* | | reset_source | *No description.* | | reset_source_content | *No description.* | @@ -480,6 +493,12 @@ def put_source( def reset_excludes() -> None ``` +##### `reset_exclude_symlink_directories` + +```python +def reset_exclude_symlink_directories() -> None +``` + ##### `reset_output_file_mode` ```python @@ -610,11 +629,15 @@ dataArchiveFile.DataArchiveFile.is_terraform_data_source( | provider | cdktf.TerraformProvider | *No description.* | | id | str | *No description.* | | output_base64_sha256 | str | *No description.* | +| output_base64_sha512 | str | *No description.* | | output_md5 | str | *No description.* | | output_sha | str | *No description.* | +| output_sha256 | str | *No description.* | +| output_sha512 | str | *No description.* | | output_size | typing.Union[int, float] | *No description.* | | source | DataArchiveFileSourceList | *No description.* | | excludes_input | typing.List[str] | *No description.* | +| exclude_symlink_directories_input | typing.Union[bool, cdktf.IResolvable] | *No description.* | | output_file_mode_input | str | *No description.* | | output_path_input | str | *No description.* | | source_content_filename_input | str | *No description.* | @@ -624,6 +647,7 @@ dataArchiveFile.DataArchiveFile.is_terraform_data_source( | source_input | typing.Union[cdktf.IResolvable, typing.List[DataArchiveFileSource]] | *No description.* | | type_input | str | *No description.* | | excludes | typing.List[str] | *No description.* | +| exclude_symlink_directories | typing.Union[bool, cdktf.IResolvable] | *No description.* | | output_file_mode | str | *No description.* | | output_path | str | *No description.* | | source_content | str | *No description.* | @@ -776,6 +800,16 @@ output_base64_sha256: str --- +##### `output_base64_sha512`Required + +```python +output_base64_sha512: str +``` + +- *Type:* str + +--- + ##### `output_md5`Required ```python @@ -796,6 +830,26 @@ output_sha: str --- +##### `output_sha256`Required + +```python +output_sha256: str +``` + +- *Type:* str + +--- + +##### `output_sha512`Required + +```python +output_sha512: str +``` + +- *Type:* str + +--- + ##### `output_size`Required ```python @@ -826,6 +880,16 @@ excludes_input: typing.List[str] --- +##### `exclude_symlink_directories_input`Optional + +```python +exclude_symlink_directories_input: typing.Union[bool, IResolvable] +``` + +- *Type:* typing.Union[bool, cdktf.IResolvable] + +--- + ##### `output_file_mode_input`Optional ```python @@ -916,6 +980,16 @@ excludes: typing.List[str] --- +##### `exclude_symlink_directories`Required + +```python +exclude_symlink_directories: typing.Union[bool, IResolvable] +``` + +- *Type:* typing.Union[bool, cdktf.IResolvable] + +--- + ##### `output_file_mode`Required ```python @@ -1024,6 +1098,7 @@ dataArchiveFile.DataArchiveFileConfig( output_path: str, type: str, excludes: typing.List[str] = None, + exclude_symlink_directories: typing.Union[bool, IResolvable] = None, output_file_mode: str = None, source: typing.Union[IResolvable, typing.List[DataArchiveFileSource]] = None, source_content: str = None, @@ -1047,6 +1122,7 @@ dataArchiveFile.DataArchiveFileConfig( | output_path | str | The output of the archive file. | | type | str | The type of archive to generate. NOTE: `zip` is supported. | | excludes | typing.List[str] | Specify files to ignore when reading the `source_dir`. | +| exclude_symlink_directories | typing.Union[bool, cdktf.IResolvable] | Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. | | output_file_mode | str | String that specifies the octal file mode for all archived files. | | source | typing.Union[cdktf.IResolvable, typing.List[DataArchiveFileSource]] | source block. | | source_content | str | Add only this content to the archive with `source_content_filename` as the filename. | @@ -1136,7 +1212,7 @@ output_path: str The output of the archive file. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#output_path DataArchiveFile#output_path} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#output_path DataArchiveFile#output_path} --- @@ -1150,7 +1226,7 @@ type: str The type of archive to generate. NOTE: `zip` is supported. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#type DataArchiveFile#type} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#type DataArchiveFile#type} --- @@ -1164,7 +1240,21 @@ excludes: typing.List[str] Specify files to ignore when reading the `source_dir`. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#excludes DataArchiveFile#excludes} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#excludes DataArchiveFile#excludes} + +--- + +##### `exclude_symlink_directories`Optional + +```python +exclude_symlink_directories: typing.Union[bool, IResolvable] +``` + +- *Type:* typing.Union[bool, cdktf.IResolvable] + +Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. + +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#exclude_symlink_directories DataArchiveFile#exclude_symlink_directories} --- @@ -1180,7 +1270,7 @@ String that specifies the octal file mode for all archived files. For example: `"0666"`. Setting this will ensure that cross platform usage of this module will not vary the modes of archived files (and ultimately checksums) resulting in more deterministic behavior. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#output_file_mode DataArchiveFile#output_file_mode} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#output_file_mode DataArchiveFile#output_file_mode} --- @@ -1194,7 +1284,7 @@ source: typing.Union[IResolvable, typing.List[DataArchiveFileSource]] source block. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source DataArchiveFile#source} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source DataArchiveFile#source} --- @@ -1210,7 +1300,7 @@ Add only this content to the archive with `source_content_filename` as the filen One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_content DataArchiveFile#source_content} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_content DataArchiveFile#source_content} --- @@ -1226,7 +1316,7 @@ Set this as the filename when using `source_content`. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_content_filename DataArchiveFile#source_content_filename} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_content_filename DataArchiveFile#source_content_filename} --- @@ -1242,7 +1332,7 @@ Package entire contents of this directory into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_dir DataArchiveFile#source_dir} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_dir DataArchiveFile#source_dir} --- @@ -1258,7 +1348,7 @@ Package this file into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_file DataArchiveFile#source_file} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_file DataArchiveFile#source_file} --- @@ -1294,7 +1384,7 @@ content: str Add this content to the archive with `filename` as the filename. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#content DataArchiveFile#content} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#content DataArchiveFile#content} --- @@ -1308,7 +1398,7 @@ filename: str Set this as the filename when declaring a `source`. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#filename DataArchiveFile#filename} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#filename DataArchiveFile#filename} --- diff --git a/docs/dataArchiveFile.typescript.md b/docs/dataArchiveFile.typescript.md index 50b0eba3..a7a6e5ed 100644 --- a/docs/dataArchiveFile.typescript.md +++ b/docs/dataArchiveFile.typescript.md @@ -1,6 +1,6 @@ # `data_archive_file` -Refer to the Terraform Registory for docs: [`data_archive_file`](https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file). +Refer to the Terraform Registory for docs: [`data_archive_file`](https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file). # `dataArchiveFile` Submodule @@ -8,7 +8,7 @@ Refer to the Terraform Registory for docs: [`data_archive_file`](https://registr ### DataArchiveFile -Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file archive_file}. +Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file archive_file}. #### Initializers @@ -72,6 +72,7 @@ Must be unique amongst siblings in the same scope | interpolationForAttribute | *No description.* | | putSource | *No description.* | | resetExcludes | *No description.* | +| resetExcludeSymlinkDirectories | *No description.* | | resetOutputFileMode | *No description.* | | resetSource | *No description.* | | resetSourceContent | *No description.* | @@ -283,6 +284,12 @@ public putSource(value: IResolvable | DataArchiveFileSource[]): void public resetExcludes(): void ``` +##### `resetExcludeSymlinkDirectories` + +```typescript +public resetExcludeSymlinkDirectories(): void +``` + ##### `resetOutputFileMode` ```typescript @@ -407,11 +414,15 @@ dataArchiveFile.DataArchiveFile.isTerraformDataSource(x: any) | provider | cdktf.TerraformProvider | *No description.* | | id | string | *No description.* | | outputBase64Sha256 | string | *No description.* | +| outputBase64Sha512 | string | *No description.* | | outputMd5 | string | *No description.* | | outputSha | string | *No description.* | +| outputSha256 | string | *No description.* | +| outputSha512 | string | *No description.* | | outputSize | number | *No description.* | | source | DataArchiveFileSourceList | *No description.* | | excludesInput | string[] | *No description.* | +| excludeSymlinkDirectoriesInput | boolean \| cdktf.IResolvable | *No description.* | | outputFileModeInput | string | *No description.* | | outputPathInput | string | *No description.* | | sourceContentFilenameInput | string | *No description.* | @@ -421,6 +432,7 @@ dataArchiveFile.DataArchiveFile.isTerraformDataSource(x: any) | sourceInput | cdktf.IResolvable \| DataArchiveFileSource[] | *No description.* | | typeInput | string | *No description.* | | excludes | string[] | *No description.* | +| excludeSymlinkDirectories | boolean \| cdktf.IResolvable | *No description.* | | outputFileMode | string | *No description.* | | outputPath | string | *No description.* | | sourceContent | string | *No description.* | @@ -573,6 +585,16 @@ public readonly outputBase64Sha256: string; --- +##### `outputBase64Sha512`Required + +```typescript +public readonly outputBase64Sha512: string; +``` + +- *Type:* string + +--- + ##### `outputMd5`Required ```typescript @@ -593,6 +615,26 @@ public readonly outputSha: string; --- +##### `outputSha256`Required + +```typescript +public readonly outputSha256: string; +``` + +- *Type:* string + +--- + +##### `outputSha512`Required + +```typescript +public readonly outputSha512: string; +``` + +- *Type:* string + +--- + ##### `outputSize`Required ```typescript @@ -623,6 +665,16 @@ public readonly excludesInput: string[]; --- +##### `excludeSymlinkDirectoriesInput`Optional + +```typescript +public readonly excludeSymlinkDirectoriesInput: boolean | IResolvable; +``` + +- *Type:* boolean | cdktf.IResolvable + +--- + ##### `outputFileModeInput`Optional ```typescript @@ -713,6 +765,16 @@ public readonly excludes: string[]; --- +##### `excludeSymlinkDirectories`Required + +```typescript +public readonly excludeSymlinkDirectories: boolean | IResolvable; +``` + +- *Type:* boolean | cdktf.IResolvable + +--- + ##### `outputFileMode`Required ```typescript @@ -827,6 +889,7 @@ const dataArchiveFileConfig: dataArchiveFile.DataArchiveFileConfig = { ... } | outputPath | string | The output of the archive file. | | type | string | The type of archive to generate. NOTE: `zip` is supported. | | excludes | string[] | Specify files to ignore when reading the `source_dir`. | +| excludeSymlinkDirectories | boolean \| cdktf.IResolvable | Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. | | outputFileMode | string | String that specifies the octal file mode for all archived files. | | source | cdktf.IResolvable \| DataArchiveFileSource[] | source block. | | sourceContent | string | Add only this content to the archive with `source_content_filename` as the filename. | @@ -916,7 +979,7 @@ public readonly outputPath: string; The output of the archive file. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#output_path DataArchiveFile#output_path} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#output_path DataArchiveFile#output_path} --- @@ -930,7 +993,7 @@ public readonly type: string; The type of archive to generate. NOTE: `zip` is supported. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#type DataArchiveFile#type} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#type DataArchiveFile#type} --- @@ -944,7 +1007,21 @@ public readonly excludes: string[]; Specify files to ignore when reading the `source_dir`. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#excludes DataArchiveFile#excludes} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#excludes DataArchiveFile#excludes} + +--- + +##### `excludeSymlinkDirectories`Optional + +```typescript +public readonly excludeSymlinkDirectories: boolean | IResolvable; +``` + +- *Type:* boolean | cdktf.IResolvable + +Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. + +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#exclude_symlink_directories DataArchiveFile#exclude_symlink_directories} --- @@ -960,7 +1037,7 @@ String that specifies the octal file mode for all archived files. For example: `"0666"`. Setting this will ensure that cross platform usage of this module will not vary the modes of archived files (and ultimately checksums) resulting in more deterministic behavior. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#output_file_mode DataArchiveFile#output_file_mode} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#output_file_mode DataArchiveFile#output_file_mode} --- @@ -974,7 +1051,7 @@ public readonly source: IResolvable | DataArchiveFileSource[]; source block. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source DataArchiveFile#source} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source DataArchiveFile#source} --- @@ -990,7 +1067,7 @@ Add only this content to the archive with `source_content_filename` as the filen One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_content DataArchiveFile#source_content} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_content DataArchiveFile#source_content} --- @@ -1006,7 +1083,7 @@ Set this as the filename when using `source_content`. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_content_filename DataArchiveFile#source_content_filename} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_content_filename DataArchiveFile#source_content_filename} --- @@ -1022,7 +1099,7 @@ Package entire contents of this directory into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_dir DataArchiveFile#source_dir} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_dir DataArchiveFile#source_dir} --- @@ -1038,7 +1115,7 @@ Package this file into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_file DataArchiveFile#source_file} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_file DataArchiveFile#source_file} --- @@ -1071,7 +1148,7 @@ public readonly content: string; Add this content to the archive with `filename` as the filename. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#content DataArchiveFile#content} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#content DataArchiveFile#content} --- @@ -1085,7 +1162,7 @@ public readonly filename: string; Set this as the filename when declaring a `source`. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#filename DataArchiveFile#filename} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#filename DataArchiveFile#filename} --- diff --git a/docs/file.csharp.md b/docs/file.csharp.md index c6183d9b..606b62b5 100644 --- a/docs/file.csharp.md +++ b/docs/file.csharp.md @@ -1,6 +1,6 @@ # `archive_file` -Refer to the Terraform Registory for docs: [`archive_file`](https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file). +Refer to the Terraform Registory for docs: [`archive_file`](https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file). # `file` Submodule @@ -8,7 +8,7 @@ Refer to the Terraform Registory for docs: [`archive_file`](https://registry.ter ### File -Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file archive_file}. +Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file archive_file}. #### Initializers @@ -72,6 +72,7 @@ Must be unique amongst siblings in the same scope | InterpolationForAttribute | *No description.* | | PutSource | *No description.* | | ResetExcludes | *No description.* | +| ResetExcludeSymlinkDirectories | *No description.* | | ResetOutputFileMode | *No description.* | | ResetSource | *No description.* | | ResetSourceContent | *No description.* | @@ -283,6 +284,12 @@ private void PutSource(object Value) private void ResetExcludes() ``` +##### `ResetExcludeSymlinkDirectories` + +```csharp +private void ResetExcludeSymlinkDirectories() +``` + ##### `ResetOutputFileMode` ```csharp @@ -409,11 +416,15 @@ File.IsTerraformResource(object X); | Provisioners | object[] | *No description.* | | Id | string | *No description.* | | OutputBase64Sha256 | string | *No description.* | +| OutputBase64Sha512 | string | *No description.* | | OutputMd5 | string | *No description.* | | OutputSha | string | *No description.* | +| OutputSha256 | string | *No description.* | +| OutputSha512 | string | *No description.* | | OutputSize | double | *No description.* | | Source | FileSourceList | *No description.* | | ExcludesInput | string[] | *No description.* | +| ExcludeSymlinkDirectoriesInput | object | *No description.* | | OutputFileModeInput | string | *No description.* | | OutputPathInput | string | *No description.* | | SourceContentFilenameInput | string | *No description.* | @@ -423,6 +434,7 @@ File.IsTerraformResource(object X); | SourceInput | object | *No description.* | | TypeInput | string | *No description.* | | Excludes | string[] | *No description.* | +| ExcludeSymlinkDirectories | object | *No description.* | | OutputFileMode | string | *No description.* | | OutputPath | string | *No description.* | | SourceContent | string | *No description.* | @@ -595,6 +607,16 @@ public string OutputBase64Sha256 { get; } --- +##### `OutputBase64Sha512`Required + +```csharp +public string OutputBase64Sha512 { get; } +``` + +- *Type:* string + +--- + ##### `OutputMd5`Required ```csharp @@ -615,6 +637,26 @@ public string OutputSha { get; } --- +##### `OutputSha256`Required + +```csharp +public string OutputSha256 { get; } +``` + +- *Type:* string + +--- + +##### `OutputSha512`Required + +```csharp +public string OutputSha512 { get; } +``` + +- *Type:* string + +--- + ##### `OutputSize`Required ```csharp @@ -645,6 +687,16 @@ public string[] ExcludesInput { get; } --- +##### `ExcludeSymlinkDirectoriesInput`Optional + +```csharp +public object ExcludeSymlinkDirectoriesInput { get; } +``` + +- *Type:* object + +--- + ##### `OutputFileModeInput`Optional ```csharp @@ -735,6 +787,16 @@ public string[] Excludes { get; } --- +##### `ExcludeSymlinkDirectories`Required + +```csharp +public object ExcludeSymlinkDirectories { get; } +``` + +- *Type:* object + +--- + ##### `OutputFileMode`Required ```csharp @@ -843,6 +905,7 @@ new FileConfig { string OutputPath, string Type, string[] Excludes = null, + object ExcludeSymlinkDirectories = null, string OutputFileMode = null, object Source = null, string SourceContent = null, @@ -866,6 +929,7 @@ new FileConfig { | OutputPath | string | The output of the archive file. | | Type | string | The type of archive to generate. NOTE: `zip` is supported. | | Excludes | string[] | Specify files to ignore when reading the `source_dir`. | +| ExcludeSymlinkDirectories | object | Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. | | OutputFileMode | string | String that specifies the octal file mode for all archived files. | | Source | object | source block. | | SourceContent | string | Add only this content to the archive with `source_content_filename` as the filename. | @@ -955,7 +1019,7 @@ public string OutputPath { get; set; } The output of the archive file. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#output_path File#output_path} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#output_path File#output_path} --- @@ -969,7 +1033,7 @@ public string Type { get; set; } The type of archive to generate. NOTE: `zip` is supported. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#type File#type} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#type File#type} --- @@ -983,7 +1047,21 @@ public string[] Excludes { get; set; } Specify files to ignore when reading the `source_dir`. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#excludes File#excludes} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#excludes File#excludes} + +--- + +##### `ExcludeSymlinkDirectories`Optional + +```csharp +public object ExcludeSymlinkDirectories { get; set; } +``` + +- *Type:* object + +Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. + +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#exclude_symlink_directories File#exclude_symlink_directories} --- @@ -999,7 +1077,7 @@ String that specifies the octal file mode for all archived files. For example: `"0666"`. Setting this will ensure that cross platform usage of this module will not vary the modes of archived files (and ultimately checksums) resulting in more deterministic behavior. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#output_file_mode File#output_file_mode} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#output_file_mode File#output_file_mode} --- @@ -1013,7 +1091,7 @@ public object Source { get; set; } source block. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source File#source} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source File#source} --- @@ -1029,7 +1107,7 @@ Add only this content to the archive with `source_content_filename` as the filen One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_content File#source_content} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_content File#source_content} --- @@ -1045,7 +1123,7 @@ Set this as the filename when using `source_content`. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_content_filename File#source_content_filename} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_content_filename File#source_content_filename} --- @@ -1061,7 +1139,7 @@ Package entire contents of this directory into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_dir File#source_dir} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_dir File#source_dir} --- @@ -1077,7 +1155,7 @@ Package this file into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_file File#source_file} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_file File#source_file} --- @@ -1113,7 +1191,7 @@ public string Content { get; set; } Add this content to the archive with `filename` as the filename. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#content File#content} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#content File#content} --- @@ -1127,7 +1205,7 @@ public string Filename { get; set; } Set this as the filename when declaring a `source`. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#filename File#filename} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#filename File#filename} --- diff --git a/docs/file.go.md b/docs/file.go.md index 22c148f1..9090af03 100644 --- a/docs/file.go.md +++ b/docs/file.go.md @@ -1,6 +1,6 @@ # `archive_file` -Refer to the Terraform Registory for docs: [`archive_file`](https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file). +Refer to the Terraform Registory for docs: [`archive_file`](https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file). # `file` Submodule @@ -8,7 +8,7 @@ Refer to the Terraform Registory for docs: [`archive_file`](https://registry.ter ### File -Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file archive_file}. +Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file archive_file}. #### Initializers @@ -72,6 +72,7 @@ Must be unique amongst siblings in the same scope | InterpolationForAttribute | *No description.* | | PutSource | *No description.* | | ResetExcludes | *No description.* | +| ResetExcludeSymlinkDirectories | *No description.* | | ResetOutputFileMode | *No description.* | | ResetSource | *No description.* | | ResetSourceContent | *No description.* | @@ -283,6 +284,12 @@ func PutSource(value interface{}) func ResetExcludes() ``` +##### `ResetExcludeSymlinkDirectories` + +```go +func ResetExcludeSymlinkDirectories() +``` + ##### `ResetOutputFileMode` ```go @@ -409,11 +416,15 @@ file.File_IsTerraformResource(x interface{}) *bool | Provisioners | *[]interface{} | *No description.* | | Id | *string | *No description.* | | OutputBase64Sha256 | *string | *No description.* | +| OutputBase64Sha512 | *string | *No description.* | | OutputMd5 | *string | *No description.* | | OutputSha | *string | *No description.* | +| OutputSha256 | *string | *No description.* | +| OutputSha512 | *string | *No description.* | | OutputSize | *f64 | *No description.* | | Source | FileSourceList | *No description.* | | ExcludesInput | *[]*string | *No description.* | +| ExcludeSymlinkDirectoriesInput | interface{} | *No description.* | | OutputFileModeInput | *string | *No description.* | | OutputPathInput | *string | *No description.* | | SourceContentFilenameInput | *string | *No description.* | @@ -423,6 +434,7 @@ file.File_IsTerraformResource(x interface{}) *bool | SourceInput | interface{} | *No description.* | | TypeInput | *string | *No description.* | | Excludes | *[]*string | *No description.* | +| ExcludeSymlinkDirectories | interface{} | *No description.* | | OutputFileMode | *string | *No description.* | | OutputPath | *string | *No description.* | | SourceContent | *string | *No description.* | @@ -595,6 +607,16 @@ func OutputBase64Sha256() *string --- +##### `OutputBase64Sha512`Required + +```go +func OutputBase64Sha512() *string +``` + +- *Type:* *string + +--- + ##### `OutputMd5`Required ```go @@ -615,6 +637,26 @@ func OutputSha() *string --- +##### `OutputSha256`Required + +```go +func OutputSha256() *string +``` + +- *Type:* *string + +--- + +##### `OutputSha512`Required + +```go +func OutputSha512() *string +``` + +- *Type:* *string + +--- + ##### `OutputSize`Required ```go @@ -645,6 +687,16 @@ func ExcludesInput() *[]*string --- +##### `ExcludeSymlinkDirectoriesInput`Optional + +```go +func ExcludeSymlinkDirectoriesInput() interface{} +``` + +- *Type:* interface{} + +--- + ##### `OutputFileModeInput`Optional ```go @@ -735,6 +787,16 @@ func Excludes() *[]*string --- +##### `ExcludeSymlinkDirectories`Required + +```go +func ExcludeSymlinkDirectories() interface{} +``` + +- *Type:* interface{} + +--- + ##### `OutputFileMode`Required ```go @@ -843,6 +905,7 @@ import "github.com/cdktf/cdktf-provider-archive-go/archive/v6/file" OutputPath: *string, Type: *string, Excludes: *[]*string, + ExcludeSymlinkDirectories: interface{}, OutputFileMode: *string, Source: interface{}, SourceContent: *string, @@ -866,6 +929,7 @@ import "github.com/cdktf/cdktf-provider-archive-go/archive/v6/file" | OutputPath | *string | The output of the archive file. | | Type | *string | The type of archive to generate. NOTE: `zip` is supported. | | Excludes | *[]*string | Specify files to ignore when reading the `source_dir`. | +| ExcludeSymlinkDirectories | interface{} | Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. | | OutputFileMode | *string | String that specifies the octal file mode for all archived files. | | Source | interface{} | source block. | | SourceContent | *string | Add only this content to the archive with `source_content_filename` as the filename. | @@ -955,7 +1019,7 @@ OutputPath *string The output of the archive file. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#output_path File#output_path} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#output_path File#output_path} --- @@ -969,7 +1033,7 @@ Type *string The type of archive to generate. NOTE: `zip` is supported. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#type File#type} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#type File#type} --- @@ -983,7 +1047,21 @@ Excludes *[]*string Specify files to ignore when reading the `source_dir`. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#excludes File#excludes} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#excludes File#excludes} + +--- + +##### `ExcludeSymlinkDirectories`Optional + +```go +ExcludeSymlinkDirectories interface{} +``` + +- *Type:* interface{} + +Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. + +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#exclude_symlink_directories File#exclude_symlink_directories} --- @@ -999,7 +1077,7 @@ String that specifies the octal file mode for all archived files. For example: `"0666"`. Setting this will ensure that cross platform usage of this module will not vary the modes of archived files (and ultimately checksums) resulting in more deterministic behavior. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#output_file_mode File#output_file_mode} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#output_file_mode File#output_file_mode} --- @@ -1013,7 +1091,7 @@ Source interface{} source block. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source File#source} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source File#source} --- @@ -1029,7 +1107,7 @@ Add only this content to the archive with `source_content_filename` as the filen One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_content File#source_content} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_content File#source_content} --- @@ -1045,7 +1123,7 @@ Set this as the filename when using `source_content`. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_content_filename File#source_content_filename} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_content_filename File#source_content_filename} --- @@ -1061,7 +1139,7 @@ Package entire contents of this directory into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_dir File#source_dir} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_dir File#source_dir} --- @@ -1077,7 +1155,7 @@ Package this file into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_file File#source_file} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_file File#source_file} --- @@ -1113,7 +1191,7 @@ Content *string Add this content to the archive with `filename` as the filename. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#content File#content} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#content File#content} --- @@ -1127,7 +1205,7 @@ Filename *string Set this as the filename when declaring a `source`. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#filename File#filename} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#filename File#filename} --- diff --git a/docs/file.java.md b/docs/file.java.md index fa8a26b1..ff43724d 100644 --- a/docs/file.java.md +++ b/docs/file.java.md @@ -1,6 +1,6 @@ # `archive_file` -Refer to the Terraform Registory for docs: [`archive_file`](https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file). +Refer to the Terraform Registory for docs: [`archive_file`](https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file). # `file` Submodule @@ -8,7 +8,7 @@ Refer to the Terraform Registory for docs: [`archive_file`](https://registry.ter ### File -Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file archive_file}. +Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file archive_file}. #### Initializers @@ -30,9 +30,11 @@ File.Builder.create(Construct scope, java.lang.String id) .outputPath(java.lang.String) .type(java.lang.String) // .excludes(java.util.List) +// .excludeSymlinkDirectories(java.lang.Boolean) +// .excludeSymlinkDirectories(IResolvable) // .outputFileMode(java.lang.String) -// .source(java.util.List) // .source(IResolvable) +// .source(java.util.List) // .sourceContent(java.lang.String) // .sourceContentFilename(java.lang.String) // .sourceDir(java.lang.String) @@ -54,8 +56,9 @@ File.Builder.create(Construct scope, java.lang.String id) | outputPath | java.lang.String | The output of the archive file. | | type | java.lang.String | The type of archive to generate. NOTE: `zip` is supported. | | excludes | java.util.List | Specify files to ignore when reading the `source_dir`. | +| excludeSymlinkDirectories | java.lang.Boolean OR com.hashicorp.cdktf.IResolvable | Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. | | outputFileMode | java.lang.String | String that specifies the octal file mode for all archived files. | -| source | java.util.List<FileSource> OR com.hashicorp.cdktf.IResolvable | source block. | +| source | com.hashicorp.cdktf.IResolvable OR java.util.List<FileSource> | source block. | | sourceContent | java.lang.String | Add only this content to the archive with `source_content_filename` as the filename. | | sourceContentFilename | java.lang.String | Set this as the filename when using `source_content`. | | sourceDir | java.lang.String | Package entire contents of this directory into the archive. | @@ -129,7 +132,7 @@ Must be unique amongst siblings in the same scope The output of the archive file. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#output_path File#output_path} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#output_path File#output_path} --- @@ -139,7 +142,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi The type of archive to generate. NOTE: `zip` is supported. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#type File#type} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#type File#type} --- @@ -149,7 +152,17 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi Specify files to ignore when reading the `source_dir`. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#excludes File#excludes} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#excludes File#excludes} + +--- + +##### `excludeSymlinkDirectories`Optional + +- *Type:* java.lang.Boolean OR com.hashicorp.cdktf.IResolvable + +Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. + +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#exclude_symlink_directories File#exclude_symlink_directories} --- @@ -161,17 +174,17 @@ String that specifies the octal file mode for all archived files. For example: `"0666"`. Setting this will ensure that cross platform usage of this module will not vary the modes of archived files (and ultimately checksums) resulting in more deterministic behavior. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#output_file_mode File#output_file_mode} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#output_file_mode File#output_file_mode} --- ##### `source`Optional -- *Type:* java.util.List<FileSource> OR com.hashicorp.cdktf.IResolvable +- *Type:* com.hashicorp.cdktf.IResolvable OR java.util.List<FileSource> source block. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source File#source} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source File#source} --- @@ -183,7 +196,7 @@ Add only this content to the archive with `source_content_filename` as the filen One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_content File#source_content} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_content File#source_content} --- @@ -195,7 +208,7 @@ Set this as the filename when using `source_content`. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_content_filename File#source_content_filename} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_content_filename File#source_content_filename} --- @@ -207,7 +220,7 @@ Package entire contents of this directory into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_dir File#source_dir} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_dir File#source_dir} --- @@ -219,7 +232,7 @@ Package this file into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_file File#source_file} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_file File#source_file} --- @@ -245,6 +258,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | interpolationForAttribute | *No description.* | | putSource | *No description.* | | resetExcludes | *No description.* | +| resetExcludeSymlinkDirectories | *No description.* | | resetOutputFileMode | *No description.* | | resetSource | *No description.* | | resetSourceContent | *No description.* | @@ -441,12 +455,12 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute ##### `putSource` ```java -public void putSource(java.util.List OR IResolvable value) +public void putSource(IResolvable OR java.util.List value) ``` ###### `value`Required -- *Type:* java.util.List<FileSource> OR com.hashicorp.cdktf.IResolvable +- *Type:* com.hashicorp.cdktf.IResolvable OR java.util.List<FileSource> --- @@ -456,6 +470,12 @@ public void putSource(java.util.List OR IResolvable value) public void resetExcludes() ``` +##### `resetExcludeSymlinkDirectories` + +```java +public void resetExcludeSymlinkDirectories() +``` + ##### `resetOutputFileMode` ```java @@ -582,20 +602,25 @@ File.isTerraformResource(java.lang.Object x) | provisioners | java.util.List | *No description.* | | id | java.lang.String | *No description.* | | outputBase64Sha256 | java.lang.String | *No description.* | +| outputBase64Sha512 | java.lang.String | *No description.* | | outputMd5 | java.lang.String | *No description.* | | outputSha | java.lang.String | *No description.* | +| outputSha256 | java.lang.String | *No description.* | +| outputSha512 | java.lang.String | *No description.* | | outputSize | java.lang.Number | *No description.* | | source | FileSourceList | *No description.* | | excludesInput | java.util.List | *No description.* | +| excludeSymlinkDirectoriesInput | java.lang.Boolean OR com.hashicorp.cdktf.IResolvable | *No description.* | | outputFileModeInput | java.lang.String | *No description.* | | outputPathInput | java.lang.String | *No description.* | | sourceContentFilenameInput | java.lang.String | *No description.* | | sourceContentInput | java.lang.String | *No description.* | | sourceDirInput | java.lang.String | *No description.* | | sourceFileInput | java.lang.String | *No description.* | -| sourceInput | java.util.List<FileSource> OR com.hashicorp.cdktf.IResolvable | *No description.* | +| sourceInput | com.hashicorp.cdktf.IResolvable OR java.util.List<FileSource> | *No description.* | | typeInput | java.lang.String | *No description.* | | excludes | java.util.List | *No description.* | +| excludeSymlinkDirectories | java.lang.Boolean OR com.hashicorp.cdktf.IResolvable | *No description.* | | outputFileMode | java.lang.String | *No description.* | | outputPath | java.lang.String | *No description.* | | sourceContent | java.lang.String | *No description.* | @@ -768,6 +793,16 @@ public java.lang.String getOutputBase64Sha256(); --- +##### `outputBase64Sha512`Required + +```java +public java.lang.String getOutputBase64Sha512(); +``` + +- *Type:* java.lang.String + +--- + ##### `outputMd5`Required ```java @@ -788,6 +823,26 @@ public java.lang.String getOutputSha(); --- +##### `outputSha256`Required + +```java +public java.lang.String getOutputSha256(); +``` + +- *Type:* java.lang.String + +--- + +##### `outputSha512`Required + +```java +public java.lang.String getOutputSha512(); +``` + +- *Type:* java.lang.String + +--- + ##### `outputSize`Required ```java @@ -818,6 +873,16 @@ public java.util.List getExcludesInput(); --- +##### `excludeSymlinkDirectoriesInput`Optional + +```java +public java.lang.Object getExcludeSymlinkDirectoriesInput(); +``` + +- *Type:* java.lang.Boolean OR com.hashicorp.cdktf.IResolvable + +--- + ##### `outputFileModeInput`Optional ```java @@ -884,7 +949,7 @@ public java.lang.String getSourceFileInput(); public java.lang.Object getSourceInput(); ``` -- *Type:* java.util.List<FileSource> OR com.hashicorp.cdktf.IResolvable +- *Type:* com.hashicorp.cdktf.IResolvable OR java.util.List<FileSource> --- @@ -908,6 +973,16 @@ public java.util.List getExcludes(); --- +##### `excludeSymlinkDirectories`Required + +```java +public java.lang.Object getExcludeSymlinkDirectories(); +``` + +- *Type:* java.lang.Boolean OR com.hashicorp.cdktf.IResolvable + +--- + ##### `outputFileMode`Required ```java @@ -1020,9 +1095,11 @@ FileConfig.builder() .outputPath(java.lang.String) .type(java.lang.String) // .excludes(java.util.List) +// .excludeSymlinkDirectories(java.lang.Boolean) +// .excludeSymlinkDirectories(IResolvable) // .outputFileMode(java.lang.String) -// .source(java.util.List) // .source(IResolvable) +// .source(java.util.List) // .sourceContent(java.lang.String) // .sourceContentFilename(java.lang.String) // .sourceDir(java.lang.String) @@ -1044,8 +1121,9 @@ FileConfig.builder() | outputPath | java.lang.String | The output of the archive file. | | type | java.lang.String | The type of archive to generate. NOTE: `zip` is supported. | | excludes | java.util.List | Specify files to ignore when reading the `source_dir`. | +| excludeSymlinkDirectories | java.lang.Boolean OR com.hashicorp.cdktf.IResolvable | Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. | | outputFileMode | java.lang.String | String that specifies the octal file mode for all archived files. | -| source | java.util.List<FileSource> OR com.hashicorp.cdktf.IResolvable | source block. | +| source | com.hashicorp.cdktf.IResolvable OR java.util.List<FileSource> | source block. | | sourceContent | java.lang.String | Add only this content to the archive with `source_content_filename` as the filename. | | sourceContentFilename | java.lang.String | Set this as the filename when using `source_content`. | | sourceDir | java.lang.String | Package entire contents of this directory into the archive. | @@ -1133,7 +1211,7 @@ public java.lang.String getOutputPath(); The output of the archive file. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#output_path File#output_path} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#output_path File#output_path} --- @@ -1147,7 +1225,7 @@ public java.lang.String getType(); The type of archive to generate. NOTE: `zip` is supported. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#type File#type} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#type File#type} --- @@ -1161,7 +1239,21 @@ public java.util.List getExcludes(); Specify files to ignore when reading the `source_dir`. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#excludes File#excludes} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#excludes File#excludes} + +--- + +##### `excludeSymlinkDirectories`Optional + +```java +public java.lang.Object getExcludeSymlinkDirectories(); +``` + +- *Type:* java.lang.Boolean OR com.hashicorp.cdktf.IResolvable + +Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. + +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#exclude_symlink_directories File#exclude_symlink_directories} --- @@ -1177,7 +1269,7 @@ String that specifies the octal file mode for all archived files. For example: `"0666"`. Setting this will ensure that cross platform usage of this module will not vary the modes of archived files (and ultimately checksums) resulting in more deterministic behavior. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#output_file_mode File#output_file_mode} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#output_file_mode File#output_file_mode} --- @@ -1187,11 +1279,11 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi public java.lang.Object getSource(); ``` -- *Type:* java.util.List<FileSource> OR com.hashicorp.cdktf.IResolvable +- *Type:* com.hashicorp.cdktf.IResolvable OR java.util.List<FileSource> source block. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source File#source} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source File#source} --- @@ -1207,7 +1299,7 @@ Add only this content to the archive with `source_content_filename` as the filen One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_content File#source_content} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_content File#source_content} --- @@ -1223,7 +1315,7 @@ Set this as the filename when using `source_content`. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_content_filename File#source_content_filename} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_content_filename File#source_content_filename} --- @@ -1239,7 +1331,7 @@ Package entire contents of this directory into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_dir File#source_dir} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_dir File#source_dir} --- @@ -1255,7 +1347,7 @@ Package this file into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_file File#source_file} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_file File#source_file} --- @@ -1291,7 +1383,7 @@ public java.lang.String getContent(); Add this content to the archive with `filename` as the filename. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#content File#content} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#content File#content} --- @@ -1305,7 +1397,7 @@ public java.lang.String getFilename(); Set this as the filename when declaring a `source`. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#filename File#filename} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#filename File#filename} --- @@ -1415,7 +1507,7 @@ the index of the item to return. | --- | --- | --- | | creationStack | java.util.List | The creation stack of this resolvable which will be appended to errors thrown during resolution. | | fqn | java.lang.String | *No description.* | -| internalValue | java.util.List<FileSource> OR com.hashicorp.cdktf.IResolvable | *No description.* | +| internalValue | com.hashicorp.cdktf.IResolvable OR java.util.List<FileSource> | *No description.* | --- @@ -1449,7 +1541,7 @@ public java.lang.String getFqn(); public java.lang.Object getInternalValue(); ``` -- *Type:* java.util.List<FileSource> OR com.hashicorp.cdktf.IResolvable +- *Type:* com.hashicorp.cdktf.IResolvable OR java.util.List<FileSource> --- diff --git a/docs/file.python.md b/docs/file.python.md index c24a127b..4ca8170d 100644 --- a/docs/file.python.md +++ b/docs/file.python.md @@ -1,6 +1,6 @@ # `archive_file` -Refer to the Terraform Registory for docs: [`archive_file`](https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file). +Refer to the Terraform Registory for docs: [`archive_file`](https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file). # `file` Submodule @@ -8,7 +8,7 @@ Refer to the Terraform Registory for docs: [`archive_file`](https://registry.ter ### File -Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file archive_file}. +Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file archive_file}. #### Initializers @@ -28,8 +28,9 @@ file.File( output_path: str, type: str, excludes: typing.List[str] = None, + exclude_symlink_directories: typing.Union[bool, IResolvable] = None, output_file_mode: str = None, - source: typing.Union[typing.List[FileSource], IResolvable] = None, + source: typing.Union[IResolvable, typing.List[FileSource]] = None, source_content: str = None, source_content_filename: str = None, source_dir: str = None, @@ -51,8 +52,9 @@ file.File( | output_path | str | The output of the archive file. | | type | str | The type of archive to generate. NOTE: `zip` is supported. | | excludes | typing.List[str] | Specify files to ignore when reading the `source_dir`. | +| exclude_symlink_directories | typing.Union[bool, cdktf.IResolvable] | Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. | | output_file_mode | str | String that specifies the octal file mode for all archived files. | -| source | typing.Union[typing.List[FileSource], cdktf.IResolvable] | source block. | +| source | typing.Union[cdktf.IResolvable, typing.List[FileSource]] | source block. | | source_content | str | Add only this content to the archive with `source_content_filename` as the filename. | | source_content_filename | str | Set this as the filename when using `source_content`. | | source_dir | str | Package entire contents of this directory into the archive. | @@ -126,7 +128,7 @@ Must be unique amongst siblings in the same scope The output of the archive file. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#output_path File#output_path} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#output_path File#output_path} --- @@ -136,7 +138,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi The type of archive to generate. NOTE: `zip` is supported. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#type File#type} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#type File#type} --- @@ -146,7 +148,17 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi Specify files to ignore when reading the `source_dir`. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#excludes File#excludes} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#excludes File#excludes} + +--- + +##### `exclude_symlink_directories`Optional + +- *Type:* typing.Union[bool, cdktf.IResolvable] + +Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. + +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#exclude_symlink_directories File#exclude_symlink_directories} --- @@ -158,17 +170,17 @@ String that specifies the octal file mode for all archived files. For example: `"0666"`. Setting this will ensure that cross platform usage of this module will not vary the modes of archived files (and ultimately checksums) resulting in more deterministic behavior. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#output_file_mode File#output_file_mode} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#output_file_mode File#output_file_mode} --- ##### `source`Optional -- *Type:* typing.Union[typing.List[FileSource], cdktf.IResolvable] +- *Type:* typing.Union[cdktf.IResolvable, typing.List[FileSource]] source block. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source File#source} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source File#source} --- @@ -180,7 +192,7 @@ Add only this content to the archive with `source_content_filename` as the filen One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_content File#source_content} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_content File#source_content} --- @@ -192,7 +204,7 @@ Set this as the filename when using `source_content`. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_content_filename File#source_content_filename} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_content_filename File#source_content_filename} --- @@ -204,7 +216,7 @@ Package entire contents of this directory into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_dir File#source_dir} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_dir File#source_dir} --- @@ -216,7 +228,7 @@ Package this file into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_file File#source_file} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_file File#source_file} --- @@ -242,6 +254,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | interpolation_for_attribute | *No description.* | | put_source | *No description.* | | reset_excludes | *No description.* | +| reset_exclude_symlink_directories | *No description.* | | reset_output_file_mode | *No description.* | | reset_source | *No description.* | | reset_source_content | *No description.* | @@ -464,13 +477,13 @@ def interpolation_for_attribute( ```python def put_source( - value: typing.Union[typing.List[FileSource], IResolvable] + value: typing.Union[IResolvable, typing.List[FileSource]] ) -> None ``` ###### `value`Required -- *Type:* typing.Union[typing.List[FileSource], cdktf.IResolvable] +- *Type:* typing.Union[cdktf.IResolvable, typing.List[FileSource]] --- @@ -480,6 +493,12 @@ def put_source( def reset_excludes() -> None ``` +##### `reset_exclude_symlink_directories` + +```python +def reset_exclude_symlink_directories() -> None +``` + ##### `reset_output_file_mode` ```python @@ -612,20 +631,25 @@ file.File.is_terraform_resource( | provisioners | typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]] | *No description.* | | id | str | *No description.* | | output_base64_sha256 | str | *No description.* | +| output_base64_sha512 | str | *No description.* | | output_md5 | str | *No description.* | | output_sha | str | *No description.* | +| output_sha256 | str | *No description.* | +| output_sha512 | str | *No description.* | | output_size | typing.Union[int, float] | *No description.* | | source | FileSourceList | *No description.* | | excludes_input | typing.List[str] | *No description.* | +| exclude_symlink_directories_input | typing.Union[bool, cdktf.IResolvable] | *No description.* | | output_file_mode_input | str | *No description.* | | output_path_input | str | *No description.* | | source_content_filename_input | str | *No description.* | | source_content_input | str | *No description.* | | source_dir_input | str | *No description.* | | source_file_input | str | *No description.* | -| source_input | typing.Union[typing.List[FileSource], cdktf.IResolvable] | *No description.* | +| source_input | typing.Union[cdktf.IResolvable, typing.List[FileSource]] | *No description.* | | type_input | str | *No description.* | | excludes | typing.List[str] | *No description.* | +| exclude_symlink_directories | typing.Union[bool, cdktf.IResolvable] | *No description.* | | output_file_mode | str | *No description.* | | output_path | str | *No description.* | | source_content | str | *No description.* | @@ -798,6 +822,16 @@ output_base64_sha256: str --- +##### `output_base64_sha512`Required + +```python +output_base64_sha512: str +``` + +- *Type:* str + +--- + ##### `output_md5`Required ```python @@ -818,6 +852,26 @@ output_sha: str --- +##### `output_sha256`Required + +```python +output_sha256: str +``` + +- *Type:* str + +--- + +##### `output_sha512`Required + +```python +output_sha512: str +``` + +- *Type:* str + +--- + ##### `output_size`Required ```python @@ -848,6 +902,16 @@ excludes_input: typing.List[str] --- +##### `exclude_symlink_directories_input`Optional + +```python +exclude_symlink_directories_input: typing.Union[bool, IResolvable] +``` + +- *Type:* typing.Union[bool, cdktf.IResolvable] + +--- + ##### `output_file_mode_input`Optional ```python @@ -911,10 +975,10 @@ source_file_input: str ##### `source_input`Optional ```python -source_input: typing.Union[typing.List[FileSource], IResolvable] +source_input: typing.Union[IResolvable, typing.List[FileSource]] ``` -- *Type:* typing.Union[typing.List[FileSource], cdktf.IResolvable] +- *Type:* typing.Union[cdktf.IResolvable, typing.List[FileSource]] --- @@ -938,6 +1002,16 @@ excludes: typing.List[str] --- +##### `exclude_symlink_directories`Required + +```python +exclude_symlink_directories: typing.Union[bool, IResolvable] +``` + +- *Type:* typing.Union[bool, cdktf.IResolvable] + +--- + ##### `output_file_mode`Required ```python @@ -1046,8 +1120,9 @@ file.FileConfig( output_path: str, type: str, excludes: typing.List[str] = None, + exclude_symlink_directories: typing.Union[bool, IResolvable] = None, output_file_mode: str = None, - source: typing.Union[typing.List[FileSource], IResolvable] = None, + source: typing.Union[IResolvable, typing.List[FileSource]] = None, source_content: str = None, source_content_filename: str = None, source_dir: str = None, @@ -1069,8 +1144,9 @@ file.FileConfig( | output_path | str | The output of the archive file. | | type | str | The type of archive to generate. NOTE: `zip` is supported. | | excludes | typing.List[str] | Specify files to ignore when reading the `source_dir`. | +| exclude_symlink_directories | typing.Union[bool, cdktf.IResolvable] | Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. | | output_file_mode | str | String that specifies the octal file mode for all archived files. | -| source | typing.Union[typing.List[FileSource], cdktf.IResolvable] | source block. | +| source | typing.Union[cdktf.IResolvable, typing.List[FileSource]] | source block. | | source_content | str | Add only this content to the archive with `source_content_filename` as the filename. | | source_content_filename | str | Set this as the filename when using `source_content`. | | source_dir | str | Package entire contents of this directory into the archive. | @@ -1158,7 +1234,7 @@ output_path: str The output of the archive file. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#output_path File#output_path} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#output_path File#output_path} --- @@ -1172,7 +1248,7 @@ type: str The type of archive to generate. NOTE: `zip` is supported. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#type File#type} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#type File#type} --- @@ -1186,7 +1262,21 @@ excludes: typing.List[str] Specify files to ignore when reading the `source_dir`. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#excludes File#excludes} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#excludes File#excludes} + +--- + +##### `exclude_symlink_directories`Optional + +```python +exclude_symlink_directories: typing.Union[bool, IResolvable] +``` + +- *Type:* typing.Union[bool, cdktf.IResolvable] + +Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. + +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#exclude_symlink_directories File#exclude_symlink_directories} --- @@ -1202,21 +1292,21 @@ String that specifies the octal file mode for all archived files. For example: `"0666"`. Setting this will ensure that cross platform usage of this module will not vary the modes of archived files (and ultimately checksums) resulting in more deterministic behavior. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#output_file_mode File#output_file_mode} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#output_file_mode File#output_file_mode} --- ##### `source`Optional ```python -source: typing.Union[typing.List[FileSource], IResolvable] +source: typing.Union[IResolvable, typing.List[FileSource]] ``` -- *Type:* typing.Union[typing.List[FileSource], cdktf.IResolvable] +- *Type:* typing.Union[cdktf.IResolvable, typing.List[FileSource]] source block. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source File#source} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source File#source} --- @@ -1232,7 +1322,7 @@ Add only this content to the archive with `source_content_filename` as the filen One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_content File#source_content} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_content File#source_content} --- @@ -1248,7 +1338,7 @@ Set this as the filename when using `source_content`. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_content_filename File#source_content_filename} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_content_filename File#source_content_filename} --- @@ -1264,7 +1354,7 @@ Package entire contents of this directory into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_dir File#source_dir} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_dir File#source_dir} --- @@ -1280,7 +1370,7 @@ Package this file into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_file File#source_file} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_file File#source_file} --- @@ -1316,7 +1406,7 @@ content: str Add this content to the archive with `filename` as the filename. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#content File#content} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#content File#content} --- @@ -1330,7 +1420,7 @@ filename: str Set this as the filename when declaring a `source`. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#filename File#filename} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#filename File#filename} --- @@ -1448,7 +1538,7 @@ the index of the item to return. | --- | --- | --- | | creation_stack | typing.List[str] | The creation stack of this resolvable which will be appended to errors thrown during resolution. | | fqn | str | *No description.* | -| internal_value | typing.Union[typing.List[FileSource], cdktf.IResolvable] | *No description.* | +| internal_value | typing.Union[cdktf.IResolvable, typing.List[FileSource]] | *No description.* | --- @@ -1479,10 +1569,10 @@ fqn: str ##### `internal_value`Optional ```python -internal_value: typing.Union[typing.List[FileSource], IResolvable] +internal_value: typing.Union[IResolvable, typing.List[FileSource]] ``` -- *Type:* typing.Union[typing.List[FileSource], cdktf.IResolvable] +- *Type:* typing.Union[cdktf.IResolvable, typing.List[FileSource]] --- diff --git a/docs/file.typescript.md b/docs/file.typescript.md index 731b683b..24a75495 100644 --- a/docs/file.typescript.md +++ b/docs/file.typescript.md @@ -1,6 +1,6 @@ # `archive_file` -Refer to the Terraform Registory for docs: [`archive_file`](https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file). +Refer to the Terraform Registory for docs: [`archive_file`](https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file). # `file` Submodule @@ -8,7 +8,7 @@ Refer to the Terraform Registory for docs: [`archive_file`](https://registry.ter ### File -Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file archive_file}. +Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file archive_file}. #### Initializers @@ -72,6 +72,7 @@ Must be unique amongst siblings in the same scope | interpolationForAttribute | *No description.* | | putSource | *No description.* | | resetExcludes | *No description.* | +| resetExcludeSymlinkDirectories | *No description.* | | resetOutputFileMode | *No description.* | | resetSource | *No description.* | | resetSourceContent | *No description.* | @@ -268,12 +269,12 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable ##### `putSource` ```typescript -public putSource(value: FileSource[] | IResolvable): void +public putSource(value: IResolvable | FileSource[]): void ``` ###### `value`Required -- *Type:* FileSource[] | cdktf.IResolvable +- *Type:* cdktf.IResolvable | FileSource[] --- @@ -283,6 +284,12 @@ public putSource(value: FileSource[] | IResolvable): void public resetExcludes(): void ``` +##### `resetExcludeSymlinkDirectories` + +```typescript +public resetExcludeSymlinkDirectories(): void +``` + ##### `resetOutputFileMode` ```typescript @@ -409,20 +416,25 @@ file.File.isTerraformResource(x: any) | provisioners | cdktf.FileProvisioner \| cdktf.LocalExecProvisioner \| cdktf.RemoteExecProvisioner[] | *No description.* | | id | string | *No description.* | | outputBase64Sha256 | string | *No description.* | +| outputBase64Sha512 | string | *No description.* | | outputMd5 | string | *No description.* | | outputSha | string | *No description.* | +| outputSha256 | string | *No description.* | +| outputSha512 | string | *No description.* | | outputSize | number | *No description.* | | source | FileSourceList | *No description.* | | excludesInput | string[] | *No description.* | +| excludeSymlinkDirectoriesInput | boolean \| cdktf.IResolvable | *No description.* | | outputFileModeInput | string | *No description.* | | outputPathInput | string | *No description.* | | sourceContentFilenameInput | string | *No description.* | | sourceContentInput | string | *No description.* | | sourceDirInput | string | *No description.* | | sourceFileInput | string | *No description.* | -| sourceInput | FileSource[] \| cdktf.IResolvable | *No description.* | +| sourceInput | cdktf.IResolvable \| FileSource[] | *No description.* | | typeInput | string | *No description.* | | excludes | string[] | *No description.* | +| excludeSymlinkDirectories | boolean \| cdktf.IResolvable | *No description.* | | outputFileMode | string | *No description.* | | outputPath | string | *No description.* | | sourceContent | string | *No description.* | @@ -595,6 +607,16 @@ public readonly outputBase64Sha256: string; --- +##### `outputBase64Sha512`Required + +```typescript +public readonly outputBase64Sha512: string; +``` + +- *Type:* string + +--- + ##### `outputMd5`Required ```typescript @@ -615,6 +637,26 @@ public readonly outputSha: string; --- +##### `outputSha256`Required + +```typescript +public readonly outputSha256: string; +``` + +- *Type:* string + +--- + +##### `outputSha512`Required + +```typescript +public readonly outputSha512: string; +``` + +- *Type:* string + +--- + ##### `outputSize`Required ```typescript @@ -645,6 +687,16 @@ public readonly excludesInput: string[]; --- +##### `excludeSymlinkDirectoriesInput`Optional + +```typescript +public readonly excludeSymlinkDirectoriesInput: boolean | IResolvable; +``` + +- *Type:* boolean | cdktf.IResolvable + +--- + ##### `outputFileModeInput`Optional ```typescript @@ -708,10 +760,10 @@ public readonly sourceFileInput: string; ##### `sourceInput`Optional ```typescript -public readonly sourceInput: FileSource[] | IResolvable; +public readonly sourceInput: IResolvable | FileSource[]; ``` -- *Type:* FileSource[] | cdktf.IResolvable +- *Type:* cdktf.IResolvable | FileSource[] --- @@ -735,6 +787,16 @@ public readonly excludes: string[]; --- +##### `excludeSymlinkDirectories`Required + +```typescript +public readonly excludeSymlinkDirectories: boolean | IResolvable; +``` + +- *Type:* boolean | cdktf.IResolvable + +--- + ##### `outputFileMode`Required ```typescript @@ -849,8 +911,9 @@ const fileConfig: file.FileConfig = { ... } | outputPath | string | The output of the archive file. | | type | string | The type of archive to generate. NOTE: `zip` is supported. | | excludes | string[] | Specify files to ignore when reading the `source_dir`. | +| excludeSymlinkDirectories | boolean \| cdktf.IResolvable | Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. | | outputFileMode | string | String that specifies the octal file mode for all archived files. | -| source | FileSource[] \| cdktf.IResolvable | source block. | +| source | cdktf.IResolvable \| FileSource[] | source block. | | sourceContent | string | Add only this content to the archive with `source_content_filename` as the filename. | | sourceContentFilename | string | Set this as the filename when using `source_content`. | | sourceDir | string | Package entire contents of this directory into the archive. | @@ -938,7 +1001,7 @@ public readonly outputPath: string; The output of the archive file. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#output_path File#output_path} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#output_path File#output_path} --- @@ -952,7 +1015,7 @@ public readonly type: string; The type of archive to generate. NOTE: `zip` is supported. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#type File#type} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#type File#type} --- @@ -966,7 +1029,21 @@ public readonly excludes: string[]; Specify files to ignore when reading the `source_dir`. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#excludes File#excludes} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#excludes File#excludes} + +--- + +##### `excludeSymlinkDirectories`Optional + +```typescript +public readonly excludeSymlinkDirectories: boolean | IResolvable; +``` + +- *Type:* boolean | cdktf.IResolvable + +Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. + +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#exclude_symlink_directories File#exclude_symlink_directories} --- @@ -982,21 +1059,21 @@ String that specifies the octal file mode for all archived files. For example: `"0666"`. Setting this will ensure that cross platform usage of this module will not vary the modes of archived files (and ultimately checksums) resulting in more deterministic behavior. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#output_file_mode File#output_file_mode} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#output_file_mode File#output_file_mode} --- ##### `source`Optional ```typescript -public readonly source: FileSource[] | IResolvable; +public readonly source: IResolvable | FileSource[]; ``` -- *Type:* FileSource[] | cdktf.IResolvable +- *Type:* cdktf.IResolvable | FileSource[] source block. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source File#source} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source File#source} --- @@ -1012,7 +1089,7 @@ Add only this content to the archive with `source_content_filename` as the filen One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_content File#source_content} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_content File#source_content} --- @@ -1028,7 +1105,7 @@ Set this as the filename when using `source_content`. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_content_filename File#source_content_filename} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_content_filename File#source_content_filename} --- @@ -1044,7 +1121,7 @@ Package entire contents of this directory into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_dir File#source_dir} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_dir File#source_dir} --- @@ -1060,7 +1137,7 @@ Package this file into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_file File#source_file} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_file File#source_file} --- @@ -1093,7 +1170,7 @@ public readonly content: string; Add this content to the archive with `filename` as the filename. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#content File#content} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#content File#content} --- @@ -1107,7 +1184,7 @@ public readonly filename: string; Set this as the filename when declaring a `source`. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#filename File#filename} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#filename File#filename} --- @@ -1217,7 +1294,7 @@ the index of the item to return. | --- | --- | --- | | creationStack | string[] | The creation stack of this resolvable which will be appended to errors thrown during resolution. | | fqn | string | *No description.* | -| internalValue | FileSource[] \| cdktf.IResolvable | *No description.* | +| internalValue | cdktf.IResolvable \| FileSource[] | *No description.* | --- @@ -1248,10 +1325,10 @@ public readonly fqn: string; ##### `internalValue`Optional ```typescript -public readonly internalValue: FileSource[] | IResolvable; +public readonly internalValue: IResolvable | FileSource[]; ``` -- *Type:* FileSource[] | cdktf.IResolvable +- *Type:* cdktf.IResolvable | FileSource[] --- diff --git a/docs/provider.csharp.md b/docs/provider.csharp.md index f5115365..9f7e5d40 100644 --- a/docs/provider.csharp.md +++ b/docs/provider.csharp.md @@ -1,6 +1,6 @@ # `provider` -Refer to the Terraform Registory for docs: [`archive`](https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs). +Refer to the Terraform Registory for docs: [`archive`](https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs). # `provider` Submodule @@ -8,7 +8,7 @@ Refer to the Terraform Registory for docs: [`archive`](https://registry.terrafor ### ArchiveProvider -Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs archive}. +Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs archive}. #### Initializers @@ -373,7 +373,7 @@ public string Alias { get; set; } Alias name. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs#alias ArchiveProvider#alias} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs#alias ArchiveProvider#alias} --- diff --git a/docs/provider.go.md b/docs/provider.go.md index 84ada49c..2cde8e1a 100644 --- a/docs/provider.go.md +++ b/docs/provider.go.md @@ -1,6 +1,6 @@ # `provider` -Refer to the Terraform Registory for docs: [`archive`](https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs). +Refer to the Terraform Registory for docs: [`archive`](https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs). # `provider` Submodule @@ -8,7 +8,7 @@ Refer to the Terraform Registory for docs: [`archive`](https://registry.terrafor ### ArchiveProvider -Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs archive}. +Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs archive}. #### Initializers @@ -373,7 +373,7 @@ Alias *string Alias name. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs#alias ArchiveProvider#alias} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs#alias ArchiveProvider#alias} --- diff --git a/docs/provider.java.md b/docs/provider.java.md index 5c552c81..dff9d007 100644 --- a/docs/provider.java.md +++ b/docs/provider.java.md @@ -1,6 +1,6 @@ # `provider` -Refer to the Terraform Registory for docs: [`archive`](https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs). +Refer to the Terraform Registory for docs: [`archive`](https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs). # `provider` Submodule @@ -8,7 +8,7 @@ Refer to the Terraform Registory for docs: [`archive`](https://registry.terrafor ### ArchiveProvider -Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs archive}. +Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs archive}. #### Initializers @@ -52,7 +52,7 @@ Must be unique amongst siblings in the same scope Alias name. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs#alias ArchiveProvider#alias} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs#alias ArchiveProvider#alias} --- @@ -379,7 +379,7 @@ public java.lang.String getAlias(); Alias name. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs#alias ArchiveProvider#alias} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs#alias ArchiveProvider#alias} --- diff --git a/docs/provider.python.md b/docs/provider.python.md index dee01dba..c36099ca 100644 --- a/docs/provider.python.md +++ b/docs/provider.python.md @@ -1,6 +1,6 @@ # `provider` -Refer to the Terraform Registory for docs: [`archive`](https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs). +Refer to the Terraform Registory for docs: [`archive`](https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs). # `provider` Submodule @@ -8,7 +8,7 @@ Refer to the Terraform Registory for docs: [`archive`](https://registry.terrafor ### ArchiveProvider -Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs archive}. +Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs archive}. #### Initializers @@ -54,7 +54,7 @@ Must be unique amongst siblings in the same scope Alias name. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs#alias ArchiveProvider#alias} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs#alias ArchiveProvider#alias} --- @@ -392,7 +392,7 @@ alias: str Alias name. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs#alias ArchiveProvider#alias} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs#alias ArchiveProvider#alias} --- diff --git a/docs/provider.typescript.md b/docs/provider.typescript.md index a076e38c..626aff8d 100644 --- a/docs/provider.typescript.md +++ b/docs/provider.typescript.md @@ -1,6 +1,6 @@ # `provider` -Refer to the Terraform Registory for docs: [`archive`](https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs). +Refer to the Terraform Registory for docs: [`archive`](https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs). # `provider` Submodule @@ -8,7 +8,7 @@ Refer to the Terraform Registory for docs: [`archive`](https://registry.terrafor ### ArchiveProvider -Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs archive}. +Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs archive}. #### Initializers @@ -371,7 +371,7 @@ public readonly alias: string; Alias name. -Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs#alias ArchiveProvider#alias} +Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs#alias ArchiveProvider#alias} --- diff --git a/package.json b/package.json index 9e2b3f58..eae6f9f0 100644 --- a/package.json +++ b/package.json @@ -155,7 +155,7 @@ "cdktf": { "provider": { "name": "registry.terraform.io/hashicorp/archive", - "version": "2.3.0" + "version": "2.4.0" } }, "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"." diff --git a/src/data-archive-file/README.md b/src/data-archive-file/README.md index 186d6862..baccf30d 100644 --- a/src/data-archive-file/README.md +++ b/src/data-archive-file/README.md @@ -1,3 +1,3 @@ # `data_archive_file` -Refer to the Terraform Registory for docs: [`data_archive_file`](https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file). +Refer to the Terraform Registory for docs: [`data_archive_file`](https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file). diff --git a/src/data-archive-file/index.ts b/src/data-archive-file/index.ts index 3b1563c6..0a9d316f 100644 --- a/src/data-archive-file/index.ts +++ b/src/data-archive-file/index.ts @@ -3,7 +3,7 @@ * SPDX-License-Identifier: MPL-2.0 */ -// https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file +// https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file // generated from terraform resource schema import { Construct } from 'constructs'; @@ -12,58 +12,64 @@ import * as cdktf from 'cdktf'; // Configuration export interface DataArchiveFileConfig extends cdktf.TerraformMetaArguments { + /** + * Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. + * + * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#exclude_symlink_directories DataArchiveFile#exclude_symlink_directories} + */ + readonly excludeSymlinkDirectories?: boolean | cdktf.IResolvable; /** * Specify files to ignore when reading the `source_dir`. * - * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#excludes DataArchiveFile#excludes} + * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#excludes DataArchiveFile#excludes} */ readonly excludes?: string[]; /** * String that specifies the octal file mode for all archived files. For example: `"0666"`. Setting this will ensure that cross platform usage of this module will not vary the modes of archived files (and ultimately checksums) resulting in more deterministic behavior. * - * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#output_file_mode DataArchiveFile#output_file_mode} + * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#output_file_mode DataArchiveFile#output_file_mode} */ readonly outputFileMode?: string; /** * The output of the archive file. * - * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#output_path DataArchiveFile#output_path} + * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#output_path DataArchiveFile#output_path} */ readonly outputPath: string; /** * Add only this content to the archive with `source_content_filename` as the filename. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. * - * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_content DataArchiveFile#source_content} + * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_content DataArchiveFile#source_content} */ readonly sourceContent?: string; /** * Set this as the filename when using `source_content`. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. * - * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_content_filename DataArchiveFile#source_content_filename} + * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_content_filename DataArchiveFile#source_content_filename} */ readonly sourceContentFilename?: string; /** * Package entire contents of this directory into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. * - * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_dir DataArchiveFile#source_dir} + * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_dir DataArchiveFile#source_dir} */ readonly sourceDir?: string; /** * Package this file into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. * - * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source_file DataArchiveFile#source_file} + * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source_file DataArchiveFile#source_file} */ readonly sourceFile?: string; /** * The type of archive to generate. NOTE: `zip` is supported. * - * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#type DataArchiveFile#type} + * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#type DataArchiveFile#type} */ readonly type: string; /** * source block * - * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#source DataArchiveFile#source} + * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#source DataArchiveFile#source} */ readonly source?: DataArchiveFileSource[] | cdktf.IResolvable; } @@ -71,13 +77,13 @@ export interface DataArchiveFileSource { /** * Add this content to the archive with `filename` as the filename. * - * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#content DataArchiveFile#content} + * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#content DataArchiveFile#content} */ readonly content: string; /** * Set this as the filename when declaring a `source`. * - * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file#filename DataArchiveFile#filename} + * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file#filename DataArchiveFile#filename} */ readonly filename: string; } @@ -191,7 +197,7 @@ export class DataArchiveFileSourceList extends cdktf.ComplexList { } /** -* Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file archive_file} +* Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file archive_file} */ export class DataArchiveFile extends cdktf.TerraformDataSource { @@ -205,7 +211,7 @@ export class DataArchiveFile extends cdktf.TerraformDataSource { // =========== /** - * Create a new {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/data-sources/file archive_file} Data Source + * Create a new {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/data-sources/file archive_file} Data Source * * @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 @@ -216,7 +222,7 @@ export class DataArchiveFile extends cdktf.TerraformDataSource { terraformResourceType: 'archive_file', terraformGeneratorMetadata: { providerName: 'archive', - providerVersion: '2.3.0', + providerVersion: '2.4.0', providerVersionConstraint: '~> 2.2' }, provider: config.provider, @@ -227,6 +233,7 @@ export class DataArchiveFile extends cdktf.TerraformDataSource { connection: config.connection, forEach: config.forEach }); + this._excludeSymlinkDirectories = config.excludeSymlinkDirectories; this._excludes = config.excludes; this._outputFileMode = config.outputFileMode; this._outputPath = config.outputPath; @@ -242,6 +249,22 @@ export class DataArchiveFile extends cdktf.TerraformDataSource { // ATTRIBUTES // ========== + // exclude_symlink_directories - computed: false, optional: true, required: false + private _excludeSymlinkDirectories?: boolean | cdktf.IResolvable; + public get excludeSymlinkDirectories() { + return this.getBooleanAttribute('exclude_symlink_directories'); + } + public set excludeSymlinkDirectories(value: boolean | cdktf.IResolvable) { + this._excludeSymlinkDirectories = value; + } + public resetExcludeSymlinkDirectories() { + this._excludeSymlinkDirectories = undefined; + } + // Temporarily expose input value. Use with caution. + public get excludeSymlinkDirectoriesInput() { + return this._excludeSymlinkDirectories; + } + // excludes - computed: false, optional: true, required: false private _excludes?: string[]; public get excludes() { @@ -268,6 +291,11 @@ export class DataArchiveFile extends cdktf.TerraformDataSource { return this.getStringAttribute('output_base64sha256'); } + // output_base64sha512 - computed: true, optional: false, required: false + public get outputBase64Sha512() { + return this.getStringAttribute('output_base64sha512'); + } + // output_file_mode - computed: false, optional: true, required: false private _outputFileMode?: string; public get outputFileMode() { @@ -307,6 +335,16 @@ export class DataArchiveFile extends cdktf.TerraformDataSource { return this.getStringAttribute('output_sha'); } + // output_sha256 - computed: true, optional: false, required: false + public get outputSha256() { + return this.getStringAttribute('output_sha256'); + } + + // output_sha512 - computed: true, optional: false, required: false + public get outputSha512() { + return this.getStringAttribute('output_sha512'); + } + // output_size - computed: true, optional: false, required: false public get outputSize() { return this.getNumberAttribute('output_size'); @@ -411,6 +449,7 @@ export class DataArchiveFile extends cdktf.TerraformDataSource { protected synthesizeAttributes(): { [name: string]: any } { return { + exclude_symlink_directories: cdktf.booleanToTerraform(this._excludeSymlinkDirectories), excludes: cdktf.listMapper(cdktf.stringToTerraform, false)(this._excludes), output_file_mode: cdktf.stringToTerraform(this._outputFileMode), output_path: cdktf.stringToTerraform(this._outputPath), diff --git a/src/file/README.md b/src/file/README.md index 945756b0..c2b03742 100644 --- a/src/file/README.md +++ b/src/file/README.md @@ -1,3 +1,3 @@ # `archive_file` -Refer to the Terraform Registory for docs: [`archive_file`](https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file). +Refer to the Terraform Registory for docs: [`archive_file`](https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file). diff --git a/src/file/index.ts b/src/file/index.ts index bfa1e878..03751b04 100644 --- a/src/file/index.ts +++ b/src/file/index.ts @@ -3,7 +3,7 @@ * SPDX-License-Identifier: MPL-2.0 */ -// https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file +// https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file // generated from terraform resource schema import { Construct } from 'constructs'; @@ -12,58 +12,64 @@ import * as cdktf from 'cdktf'; // Configuration export interface FileConfig extends cdktf.TerraformMetaArguments { + /** + * Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to false. + * + * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#exclude_symlink_directories File#exclude_symlink_directories} + */ + readonly excludeSymlinkDirectories?: boolean | cdktf.IResolvable; /** * Specify files to ignore when reading the `source_dir`. * - * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#excludes File#excludes} + * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#excludes File#excludes} */ readonly excludes?: string[]; /** * String that specifies the octal file mode for all archived files. For example: `"0666"`. Setting this will ensure that cross platform usage of this module will not vary the modes of archived files (and ultimately checksums) resulting in more deterministic behavior. * - * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#output_file_mode File#output_file_mode} + * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#output_file_mode File#output_file_mode} */ readonly outputFileMode?: string; /** * The output of the archive file. * - * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#output_path File#output_path} + * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#output_path File#output_path} */ readonly outputPath: string; /** * Add only this content to the archive with `source_content_filename` as the filename. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. * - * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_content File#source_content} + * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_content File#source_content} */ readonly sourceContent?: string; /** * Set this as the filename when using `source_content`. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. * - * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_content_filename File#source_content_filename} + * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_content_filename File#source_content_filename} */ readonly sourceContentFilename?: string; /** * Package entire contents of this directory into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. * - * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_dir File#source_dir} + * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_dir File#source_dir} */ readonly sourceDir?: string; /** * Package this file into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. * - * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source_file File#source_file} + * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source_file File#source_file} */ readonly sourceFile?: string; /** * The type of archive to generate. NOTE: `zip` is supported. * - * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#type File#type} + * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#type File#type} */ readonly type: string; /** * source block * - * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#source File#source} + * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#source File#source} */ readonly source?: FileSource[] | cdktf.IResolvable; } @@ -71,13 +77,13 @@ export interface FileSource { /** * Add this content to the archive with `filename` as the filename. * - * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#content File#content} + * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#content File#content} */ readonly content: string; /** * Set this as the filename when declaring a `source`. * - * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file#filename File#filename} + * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file#filename File#filename} */ readonly filename: string; } @@ -191,7 +197,7 @@ export class FileSourceList extends cdktf.ComplexList { } /** -* Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file archive_file} +* Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file archive_file} */ export class File extends cdktf.TerraformResource { @@ -205,7 +211,7 @@ export class File extends cdktf.TerraformResource { // =========== /** - * Create a new {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs/resources/file archive_file} Resource + * Create a new {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs/resources/file archive_file} Resource * * @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 @@ -216,7 +222,7 @@ export class File extends cdktf.TerraformResource { terraformResourceType: 'archive_file', terraformGeneratorMetadata: { providerName: 'archive', - providerVersion: '2.3.0', + providerVersion: '2.4.0', providerVersionConstraint: '~> 2.2' }, provider: config.provider, @@ -227,6 +233,7 @@ export class File extends cdktf.TerraformResource { connection: config.connection, forEach: config.forEach }); + this._excludeSymlinkDirectories = config.excludeSymlinkDirectories; this._excludes = config.excludes; this._outputFileMode = config.outputFileMode; this._outputPath = config.outputPath; @@ -242,6 +249,22 @@ export class File extends cdktf.TerraformResource { // ATTRIBUTES // ========== + // exclude_symlink_directories - computed: false, optional: true, required: false + private _excludeSymlinkDirectories?: boolean | cdktf.IResolvable; + public get excludeSymlinkDirectories() { + return this.getBooleanAttribute('exclude_symlink_directories'); + } + public set excludeSymlinkDirectories(value: boolean | cdktf.IResolvable) { + this._excludeSymlinkDirectories = value; + } + public resetExcludeSymlinkDirectories() { + this._excludeSymlinkDirectories = undefined; + } + // Temporarily expose input value. Use with caution. + public get excludeSymlinkDirectoriesInput() { + return this._excludeSymlinkDirectories; + } + // excludes - computed: false, optional: true, required: false private _excludes?: string[]; public get excludes() { @@ -268,6 +291,11 @@ export class File extends cdktf.TerraformResource { return this.getStringAttribute('output_base64sha256'); } + // output_base64sha512 - computed: true, optional: false, required: false + public get outputBase64Sha512() { + return this.getStringAttribute('output_base64sha512'); + } + // output_file_mode - computed: false, optional: true, required: false private _outputFileMode?: string; public get outputFileMode() { @@ -307,6 +335,16 @@ export class File extends cdktf.TerraformResource { return this.getStringAttribute('output_sha'); } + // output_sha256 - computed: true, optional: false, required: false + public get outputSha256() { + return this.getStringAttribute('output_sha256'); + } + + // output_sha512 - computed: true, optional: false, required: false + public get outputSha512() { + return this.getStringAttribute('output_sha512'); + } + // output_size - computed: true, optional: false, required: false public get outputSize() { return this.getNumberAttribute('output_size'); @@ -411,6 +449,7 @@ export class File extends cdktf.TerraformResource { protected synthesizeAttributes(): { [name: string]: any } { return { + exclude_symlink_directories: cdktf.booleanToTerraform(this._excludeSymlinkDirectories), excludes: cdktf.listMapper(cdktf.stringToTerraform, false)(this._excludes), output_file_mode: cdktf.stringToTerraform(this._outputFileMode), output_path: cdktf.stringToTerraform(this._outputPath), diff --git a/src/provider/README.md b/src/provider/README.md index 8d5bb095..a85eaabe 100644 --- a/src/provider/README.md +++ b/src/provider/README.md @@ -1,3 +1,3 @@ # `provider` -Refer to the Terraform Registory for docs: [`archive`](https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs). +Refer to the Terraform Registory for docs: [`archive`](https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs). diff --git a/src/provider/index.ts b/src/provider/index.ts index 658722c4..1664aa8a 100644 --- a/src/provider/index.ts +++ b/src/provider/index.ts @@ -3,7 +3,7 @@ * SPDX-License-Identifier: MPL-2.0 */ -// https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs +// https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs // generated from terraform resource schema import { Construct } from 'constructs'; @@ -15,13 +15,13 @@ export interface ArchiveProviderConfig { /** * Alias name * - * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs#alias ArchiveProvider#alias} + * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs#alias ArchiveProvider#alias} */ readonly alias?: string; } /** -* Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs archive} +* Represents a {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs archive} */ export class ArchiveProvider extends cdktf.TerraformProvider { @@ -35,7 +35,7 @@ export class ArchiveProvider extends cdktf.TerraformProvider { // =========== /** - * Create a new {@link https://registry.terraform.io/providers/hashicorp/archive/2.3.0/docs archive} Resource + * Create a new {@link https://registry.terraform.io/providers/hashicorp/archive/2.4.0/docs archive} Resource * * @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 @@ -46,7 +46,7 @@ export class ArchiveProvider extends cdktf.TerraformProvider { terraformResourceType: 'archive', terraformGeneratorMetadata: { providerName: 'archive', - providerVersion: '2.3.0', + providerVersion: '2.4.0', providerVersionConstraint: '~> 2.2' }, terraformProviderSource: 'hashicorp/archive' diff --git a/src/version.json b/src/version.json index 8f97f2c7..eda024c3 100644 --- a/src/version.json +++ b/src/version.json @@ -1,3 +1,3 @@ { - "registry.terraform.io/hashicorp/archive": "2.3.0" + "registry.terraform.io/hashicorp/archive": "2.4.0" }