Skip to content

Commit

Permalink
CB-27556 cascading_delete field should be computed, due to it's defau…
Browse files Browse the repository at this point in the history
…lt value
  • Loading branch information
daszabo committed Oct 31, 2024
1 parent 6c4a17d commit 70fd318
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions resources/environments/schema_aws_environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ var AwsEnvironmentSchema = schema.Schema{
},
"cascading_delete": schema.BoolAttribute{
Optional: true,
Computed: true,
Default: booldefault.StaticBool(true),
},
"freeipa": FreeIpaSchema,
Expand Down
1 change: 1 addition & 0 deletions resources/environments/schema_azure_environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ var AzureEnvironmentSchema = schema.Schema{
},
"cascading_delete": schema.BoolAttribute{
Optional: true,
Computed: true,
Default: booldefault.StaticBool(true),
},
"existing_network_params": schema.SingleNestedAttribute{
Expand Down
1 change: 1 addition & 0 deletions resources/environments/schema_gcp_environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func (r *gcpEnvironmentResource) Schema(_ context.Context, _ resource.SchemaRequ
},
"cascading_delete": schema.BoolAttribute{
Optional: true,
Computed: true,
Default: booldefault.StaticBool(true),
},
"polling_options": schema.SingleNestedAttribute{
Expand Down

0 comments on commit 70fd318

Please sign in to comment.