Skip to content

Commit

Permalink
CDPCP-11560 - Datalake image id parameter is incorrectly shown as req…
Browse files Browse the repository at this point in the history
…uired cdp_datalake_*_datalake TF resources
  • Loading branch information
gregito committed Sep 30, 2024
1 parent a74a80f commit 18de6c0
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 15 deletions.
5 changes: 1 addition & 4 deletions docs/resources/datalake_aws_datalake.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,10 @@ output "recipes" {
<a id="nestedatt--image"></a>
### Nested Schema for `image`

Required:

- `id` (String)

Optional:

- `catalog_name` (String)
- `id` (String)
- `os` (String)


Expand Down
5 changes: 1 addition & 4 deletions docs/resources/datalake_azure_datalake.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,10 @@ output "recipes" {
<a id="nestedatt--image"></a>
### Nested Schema for `image`

Required:

- `id` (String)

Optional:

- `catalog_name` (String)
- `id` (String)
- `os` (String)


Expand Down
5 changes: 1 addition & 4 deletions docs/resources/datalake_gcp_datalake.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,10 @@ Required:
<a id="nestedatt--image"></a>
### Nested Schema for `image`

Required:

- `id` (String)

Optional:

- `catalog_name` (String)
- `id` (String)
- `os` (String)


Expand Down
2 changes: 1 addition & 1 deletion resources/datalake/common_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ var generalAttributes = map[string]schema.Attribute{
Optional: true,
},
"id": schema.StringAttribute{
Required: true,
Optional: true,
},
"os": schema.StringAttribute{
Optional: true,
Expand Down
2 changes: 1 addition & 1 deletion resources/datalake/schema_aws_datalake.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ var awsDatalakeResourceSchema = schema.Schema{
Optional: true,
},
"id": schema.StringAttribute{
Required: true,
Optional: true,
},
"os": schema.StringAttribute{
Optional: true,
Expand Down
2 changes: 1 addition & 1 deletion resources/datalake/schema_azure_datalake.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ var azureDatalakeResourceSchema = schema.Schema{
Optional: true,
},
"id": schema.StringAttribute{
Required: true,
Optional: true,
},
"os": schema.StringAttribute{
Optional: true,
Expand Down

0 comments on commit 18de6c0

Please sign in to comment.