Skip to content

Commit

Permalink
removed commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
truszkowski committed May 9, 2024
1 parent 1681c8a commit cc36747
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions spacelift/resource_stack.go
Original file line number Diff line number Diff line change
Expand Up @@ -586,17 +586,6 @@ func resourceStack() *schema.Resource {
Optional: true,
MaxItems: 1,
Elem: &schema.Resource{
/*CustomizeDiff: customdiff.All(
customdiff.ComputedIf("terraform_version", func(ctx context.Context, diff *schema.ResourceDiff, v interface{}) bool {
f, err := os.OpenFile("/Users/ptru/fabryka/spacelift/terraform-provider-spacelift-extras/test-terragrunt/terragrunt.log", os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644)
if err != nil {
panic(err)
}
defer f.Close()
fmt.Fprintf(f, "checked! %v\n", diff.HasChange("tool"))
return diff.HasChange("tool")
}),
),*/
Schema: map[string]*schema.Schema{
"terraform_version": {
Type: schema.TypeString,
Expand Down

0 comments on commit cc36747

Please sign in to comment.