Skip to content

Commit

Permalink
CDPCP-12211 - mismatch between struct and object: Struct defines fiel…
Browse files Browse the repository at this point in the history
…ds not found in object: availability_zones
  • Loading branch information
gregito committed Aug 1, 2024
1 parent c58dabc commit 96332b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/resources/datahub_aws_cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ Required:

Optional:

- `availability_zones` (Set of String) The set of availability zones that are going to be used for cluster creation on the given instance group.
- `recipes` (Set of String) The set of recipe names that are going to be applied on the given instance group.

<a id="nestedatt--instance_group--attached_volume_configuration"></a>
Expand Down
5 changes: 5 additions & 0 deletions resources/datahub/common_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,11 @@ var instanceGroupSchemaAttributes = map[string]schema.Attribute{
ElementType: types.StringType,
Optional: true,
},
"availability_zones": schema.SetAttribute{
MarkdownDescription: "The set of availability zones that are going to be used for cluster creation on the given instance group.",
ElementType: types.StringType,
Optional: true,
},
"attached_volume_configuration": schema.ListNestedAttribute{
Required: true,
MarkdownDescription: "Configuration regarding the attached volume to the specific instance group.",
Expand Down

0 comments on commit 96332b9

Please sign in to comment.