terraform: remove unused var
This commit is contained in:
parent
e392c349ef
commit
9d8c2790fa
|
@ -36,8 +36,6 @@ type Config struct {
|
||||||
Config *config.Config
|
Config *config.Config
|
||||||
Providers map[string]ResourceProviderFactory
|
Providers map[string]ResourceProviderFactory
|
||||||
Variables map[string]string
|
Variables map[string]string
|
||||||
|
|
||||||
computedPlaceholder string
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// New creates a new Terraform structure, initializes resource providers
|
// New creates a new Terraform structure, initializes resource providers
|
||||||
|
@ -49,9 +47,6 @@ type Config struct {
|
||||||
func New(c *Config) (*Terraform, error) {
|
func New(c *Config) (*Terraform, error) {
|
||||||
var errs []error
|
var errs []error
|
||||||
|
|
||||||
// Calculate the computed key placeholder
|
|
||||||
c.computedPlaceholder = "tf_computed_placeholder"
|
|
||||||
|
|
||||||
// Validate that all required variables have values
|
// Validate that all required variables have values
|
||||||
if err := smcVariables(c); err != nil {
|
if err := smcVariables(c); err != nil {
|
||||||
errs = append(errs, err...)
|
errs = append(errs, err...)
|
||||||
|
|
Loading…
Reference in New Issue