Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Question) Can we specify backend=false #318

Closed
neilpeterson opened this issue Jun 5, 2019 · 3 comments · May be fixed by #1259
Closed

(Question) Can we specify backend=false #318

neilpeterson opened this issue Jun 5, 2019 · 3 comments · May be fixed by #1259
Labels
enhancement New feature or request question

Comments

@neilpeterson
Copy link

I see options for passing backend configuration to terraform init.

BackendConfig            map[string]interface{} // The vars to pass to the terraform init command for extra configuration for the backend

However, cannot figure out how to suppress backend configuration. This would be equivalent to terraform init -backend=false.

Thanks

@neilpeterson neilpeterson changed the title Question: Can we specify backend=false (Question) Can we specify backend=false Jun 5, 2019
@brikis98
Copy link
Member

brikis98 commented Jun 6, 2019

The -backend param is not currently exposed in terraform.Options. PR to add it is welcome!

@vivekab
Copy link

vivekab commented Jun 14, 2021

Is this issue resolved?

@dnitsch
Copy link

dnitsch commented Mar 6, 2023

The -backend param is not currently exposed in terraform.Options. PR to add it is welcome!

@brikis98 - I need this too - submitting a PR in the next 10mins.

Also to avoid any future holdups like this we should extend the options with an arbitrary flags that get appended to the TF commands.

dnitsch added a commit to dnitsch/terratest that referenced this issue Mar 6, 2023
ensure existing properties specifically called out are "protected"

addressess gruntwork-io#318
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants