Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CDPCP-13575 Environments should be CCM enabled by default
Browse files Browse the repository at this point in the history
daszabo committed Dec 16, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 9ce827d commit 1283777
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
@@ -117,6 +117,7 @@ var AwsEnvironmentSchema = schema.Schema{
"enable_tunnel": schema.BoolAttribute{
Optional: true,
Computed: true,
Default: booldefault.StaticBool(true),
PlanModifiers: []planmodifier.Bool{
boolplanmodifier.UseStateForUnknown(),
},
1 change: 1 addition & 0 deletions resources/environments/schema_azure_environment.go
Original file line number Diff line number Diff line change
@@ -90,6 +90,7 @@ var AzureEnvironmentSchema = schema.Schema{
"enable_tunnel": schema.BoolAttribute{
Optional: true,
Computed: true,
Default: booldefault.StaticBool(true),
PlanModifiers: []planmodifier.Bool{
boolplanmodifier.UseStateForUnknown(),
},
1 change: 1 addition & 0 deletions resources/environments/schema_gcp_environment.go
Original file line number Diff line number Diff line change
@@ -156,6 +156,7 @@ func (r *gcpEnvironmentResource) Schema(_ context.Context, _ resource.SchemaRequ
MarkdownDescription: "Whether to enable SSH tunneling for the environment.",
Optional: true,
Computed: true,
Default: booldefault.StaticBool(true),
PlanModifiers: []planmodifier.Bool{
boolplanmodifier.UseStateForUnknown(),
},

0 comments on commit 1283777

Please sign in to comment.