Skip to content

Commit

Permalink
remove support for terraform add command
Browse files Browse the repository at this point in the history
The terraform add command was introduced in certain Terraform v1.1.0 alpha
releases in order to gather feedback. It has now been removed from Core.

Support in tfexec for terraform add was included in the same experimental vein,
with a doc comment indicating that it may be removed. Removal of Add() is
therefore not a breaking change for tfexec.
  • Loading branch information
kmoe committed Oct 27, 2021
1 parent 345602c commit 08f3e10
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 175 deletions.
101 changes: 0 additions & 101 deletions tfexec/add.go

This file was deleted.

56 changes: 0 additions & 56 deletions tfexec/add_test.go

This file was deleted.

18 changes: 0 additions & 18 deletions tfexec/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -373,21 +373,3 @@ type VerifyPluginsOption struct {
func VerifyPlugins(verifyPlugins bool) *VerifyPluginsOption {
return &VerifyPluginsOption{verifyPlugins}
}

// FromStateOption represents the -from-state option of the "terraform add" command.
type FromStateOption struct {
fromState bool
}

func FromState(fromState bool) *FromStateOption {
return &FromStateOption{fromState}
}

// IncludeOptionalOption represents the -optional option of the "terraform add" command.
type IncludeOptionalOption struct {
includeOptional bool
}

func IncludeOptional(includeOptional bool) *IncludeOptionalOption {
return &IncludeOptionalOption{includeOptional}
}

0 comments on commit 08f3e10

Please sign in to comment.