diff --git a/docs/cdktf/python/data-sources/file.md b/docs/cdktf/python/data-sources/file.md index 165a20af..8acdbd57 100644 --- a/docs/cdktf/python/data-sources/file.md +++ b/docs/cdktf/python/data-sources/file.md @@ -90,7 +90,7 @@ class MyConvertedCode(TerraformStack): ### Optional - `exclude_symlink_directories` (Boolean) Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to `false`. -- `excludes` (Set of String) Specify files to ignore when reading the `source_dir`. +- `excludes` (Set of String) Specify files/directories to ignore when reading the `source_dir`. Supports glob file matching patterns including doublestar/globstar (`**`) patterns. - `output_file_mode` (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. - `source` (Block Set) Specifies attributes of a single source file to include into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. (see [below for nested schema](#nestedblock--source)) - `source_content` (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. @@ -117,4 +117,4 @@ Required: - `content` (String) Add this content to the archive with `filename` as the filename. - `filename` (String) Set this as the filename when declaring a `source`. - \ No newline at end of file + \ No newline at end of file diff --git a/docs/cdktf/python/resources/file.md b/docs/cdktf/python/resources/file.md index 85bce4fd..6e0dbfff 100644 --- a/docs/cdktf/python/resources/file.md +++ b/docs/cdktf/python/resources/file.md @@ -25,7 +25,7 @@ description: |- ### Optional - `exclude_symlink_directories` (Boolean) Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to `false`. -- `excludes` (Set of String) Specify files to ignore when reading the `source_dir`. +- `excludes` (Set of String) Specify files/directories to ignore when reading the `source_dir`. Supports glob file matching patterns including doublestar/globstar (`**`) patterns. - `output_file_mode` (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. - `source` (Block Set) Specifies attributes of a single source file to include into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. (see [below for nested schema](#nestedblock--source)) - `source_content` (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. @@ -52,4 +52,4 @@ Required: - `content` (String) Add this content to the archive with `filename` as the filename. - `filename` (String) Set this as the filename when declaring a `source`. - \ No newline at end of file + \ No newline at end of file diff --git a/docs/cdktf/typescript/data-sources/file.md b/docs/cdktf/typescript/data-sources/file.md index 2499510d..5b60802f 100644 --- a/docs/cdktf/typescript/data-sources/file.md +++ b/docs/cdktf/typescript/data-sources/file.md @@ -101,7 +101,7 @@ class MyConvertedCode extends TerraformStack { ### Optional - `excludeSymlinkDirectories` (Boolean) Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to `false`. -- `excludes` (Set of String) Specify files to ignore when reading the `sourceDir`. +- `excludes` (Set of String) Specify files/directories to ignore when reading the `sourceDir`. Supports glob file matching patterns including doublestar/globstar (`**`) patterns. - `outputFileMode` (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. - `source` (Block Set) Specifies attributes of a single source file to include into the archive. One and only one of `source`, `sourceContentFilename` (with `sourceContent`), `sourceFile`, or `sourceDir` must be specified. (see [below for nested schema](#nestedblock--source)) - `sourceContent` (String) Add only this content to the archive with `sourceContentFilename` as the filename. One and only one of `source`, `sourceContentFilename` (with `sourceContent`), `sourceFile`, or `sourceDir` must be specified. @@ -128,4 +128,4 @@ Required: - `content` (String) Add this content to the archive with `filename` as the filename. - `filename` (String) Set this as the filename when declaring a `source`. - \ No newline at end of file + \ No newline at end of file diff --git a/docs/cdktf/typescript/resources/file.md b/docs/cdktf/typescript/resources/file.md index 09a658d1..e6b05d5d 100644 --- a/docs/cdktf/typescript/resources/file.md +++ b/docs/cdktf/typescript/resources/file.md @@ -25,7 +25,7 @@ description: |- ### Optional - `excludeSymlinkDirectories` (Boolean) Boolean flag indicating whether symbolically linked directories should be excluded during the creation of the archive. Defaults to `false`. -- `excludes` (Set of String) Specify files to ignore when reading the `sourceDir`. +- `excludes` (Set of String) Specify files/directories to ignore when reading the `sourceDir`. Supports glob file matching patterns including doublestar/globstar (`**`) patterns. - `outputFileMode` (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. - `source` (Block Set) Specifies attributes of a single source file to include into the archive. One and only one of `source`, `sourceContentFilename` (with `sourceContent`), `sourceFile`, or `sourceDir` must be specified. (see [below for nested schema](#nestedblock--source)) - `sourceContent` (String) Add only this content to the archive with `sourceContentFilename` as the filename. One and only one of `source`, `sourceContentFilename` (with `sourceContent`), `sourceFile`, or `sourceDir` must be specified. @@ -52,4 +52,4 @@ Required: - `content` (String) Add this content to the archive with `filename` as the filename. - `filename` (String) Set this as the filename when declaring a `source`. - \ No newline at end of file + \ No newline at end of file diff --git a/go.mod b/go.mod index a46c2a19..8f03e560 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ toolchain go1.21.3 require ( github.com/bmatcuk/doublestar/v4 v4.6.1 - github.com/hashicorp/terraform-plugin-framework v1.10.0 + github.com/hashicorp/terraform-plugin-framework v1.11.0 github.com/hashicorp/terraform-plugin-framework-validators v0.13.0 github.com/hashicorp/terraform-plugin-go v0.23.0 github.com/hashicorp/terraform-plugin-testing v1.9.0 diff --git a/go.sum b/go.sum index 27fd77b0..ddbbc5e3 100644 --- a/go.sum +++ b/go.sum @@ -76,8 +76,8 @@ github.com/hashicorp/terraform-exec v0.21.0 h1:uNkLAe95ey5Uux6KJdua6+cv8asgILFVW github.com/hashicorp/terraform-exec v0.21.0/go.mod h1:1PPeMYou+KDUSSeRE9szMZ/oHf4fYUmB923Wzbq1ICg= github.com/hashicorp/terraform-json v0.22.1 h1:xft84GZR0QzjPVWs4lRUwvTcPnegqlyS7orfb5Ltvec= github.com/hashicorp/terraform-json v0.22.1/go.mod h1:JbWSQCLFSXFFhg42T7l9iJwdGXBYV8fmmD6o/ML4p3A= -github.com/hashicorp/terraform-plugin-framework v1.10.0 h1:xXhICE2Fns1RYZxEQebwkB2+kXouLC932Li9qelozrc= -github.com/hashicorp/terraform-plugin-framework v1.10.0/go.mod h1:qBXLDn69kM97NNVi/MQ9qgd1uWWsVftGSnygYG1tImM= +github.com/hashicorp/terraform-plugin-framework v1.11.0 h1:M7+9zBArexHFXDx/pKTxjE6n/2UCXY6b8FIq9ZYhwfE= +github.com/hashicorp/terraform-plugin-framework v1.11.0/go.mod h1:qBXLDn69kM97NNVi/MQ9qgd1uWWsVftGSnygYG1tImM= github.com/hashicorp/terraform-plugin-framework-validators v0.13.0 h1:bxZfGo9DIUoLLtHMElsu+zwqI4IsMZQBRRy4iLzZJ8E= github.com/hashicorp/terraform-plugin-framework-validators v0.13.0/go.mod h1:wGeI02gEhj9nPANU62F2jCaHjXulejm/X+af4PdZaNo= github.com/hashicorp/terraform-plugin-go v0.23.0 h1:AALVuU1gD1kPb48aPQUjug9Ir/125t+AAurhqphJ2Co=