Jacob McCann
d11ee9dc0a
refactor generating args for vars and var-files
7 years ago
Jacob McCann
779aa5abaa
Describe some public struct and func
7 years ago
Luis Silva
1198e5b02d
Improve argument parsing formatting
7 years ago
Luis Silva
4ebb830452
Add -var-file and -var to destroy operation ; Go fmt the code
7 years ago
Florian Bertholin
0ef1c728e1
Add .netrc support
7 years ago
Jacob McCann
feef3866df
Remove forcing a call on plan with apply or destroy actions
7 years ago
Jacob McCann
42a10997d5
Add a valid action to error message
7 years ago
Jacob McCann
5401f4f43f
(Mostly) alphabetize functions
7 years ago
Jacob McCann
f308949c4a
Add comment to CopyTfEnv
7 years ago
Jacob McCann
a3571a2b10
Provide actions to run
7 years ago
Jacob McCann
3a672c7471
Pass var files to validate
7 years ago
Justin Ryan
bd9b9abb02
include lock args on plan/apply/destroy
7 years ago
Jacob McCann
0d1b8d291b
Append vars to validate command
7 years ago
Jacob McCann
29ef683a08
Ability to override version of terraform used
7 years ago
Jacob McCann
9749b0b8f9
Fix parsing values containing = from os environment
7 years ago
Jacob McCann
69e77144a1
Remove secrets handling and add copying TF_VAR_ vars to lowercase names
8 years ago
marcin.suterski
ff7e2e547e
Add support for terraform destroy command
7 years ago
Jacob McCann
de4bd0bd5d
Remove debug line
8 years ago
Jacob McCann
7b13306909
Allow multiple backend-config options
8 years ago
marcin.suterski
346612f2fa
Match lock option name to TF CLI
8 years ago
marcin.suterski
73851ed5d8
Remove remote struct and option lookup since they are not being used any more
8 years ago
marcin.suterski
cbbcf0bd65
Match plugin option names with terraform's CLI options
8 years ago
Jacob McCann
6e80f02d18
Simplify args to pass to command functions
8 years ago
marcin.suterski
f50b50b268
Fix spelling
8 years ago
marcin.suterski
037235f5f5
Remove debug
8 years ago
marcin.suterski
ceefb39d61
Add init command for TF 0.9.x
8 years ago
Nic Maki
eede51fea6
added ability to pass -var-file args to plan
8 years ago
Edwin.Avalos
a80c785325
Implement validate command
Credit to @ewbankkit for the original code. I found it worthwhile to take revive the PR off the current master
8 years ago
Edwin.Avalos
c0e63defcd
Implement exportSecrets
Allows us to set environment variables that could be the named the same between multiple steps, but have different values due to enivronmental differences.
This is a redo of #28 because I'm bad at git. The secrets are exported so that they can be used in any other flag in this plugin.
8 years ago
edwinavalos
4197abea8d
Adding targets section for configuration ( #30 )
* Adding targets section for configuration
Will add a --target <resource> for each item in a comma separated list to the plan and apply commands
Updated the docs to show the new behavior. If left undefined there is no regression in functionality.
* Combine the --target append steps
No reason to waste lines
* Updating docs for YAML list of strings
* Documentation for single and multiple targets
8 years ago
Jacob McCann
ef64a0f2a3
Use logrus for logging messages
8 years ago
Jacob McCann
0208bfdc19
Initial Working 0.5 version
8 years ago
Kit Ewbank
2274218548
Use terraform version 0.6.16.
Add 'parallelism' parameter to limit the number of concurrent operations as Terraform walks its graph.
Download glibc-2.21-r2.apk from 'github.com/sgerrand/alpine-pkg-glibc' as 'circle-artifacts.com/gh/andyshinn/alpine-pkg-glibc' is not available.
Correct 'terraform apply' with parallelism option.
Run 'go fmt'.
9 years ago
Jeff Storey
4aaf028ac3
not using dir as base dir if it's empty
9 years ago
Jeff Storey
bb77afac6e
terraform get and gofmt
9 years ago
Jeff Storey
be0a96d664
adding ability to change root dir for commands
Conflicts:
main.go
9 years ago
Jeff Storey
90a46bd02c
allow assume role before running terraform commands
9 years ago
Thomas Boerger
f10224da92
Print out the plugin version to help debugging
9 years ago
Jacob McCann
409c5359c5
Delete .terraform cache
Terraform will pull and cache config. This causes issues if you
try to change remotes as the cache will be pushed to your remote
when it initializes the new remote.
9 years ago
Jacob McCann
0a79958afc
Add sensitive flag
Do not show commands being ran if sensitive is true
9 years ago
Jacob McCann
8d46f853c5
Move ca_certs from 'remote' to 'terraform'
Did this as the CA Cert if needed for all terraform commands, not
just remote. So just made more sense to move it to base of vargs.
9 years ago
Jacob McCann
2e74fe1180
Add ability to inject internal CA Cert
9 years ago
jackspirou
e685b92711
use plan instead of dry-run
9 years ago
John Engelman
a59a5a449d
A few doc and JSON fixes from review.
9 years ago
John Engelman
431099eb7d
TF apply only if NOT dryRun.
9 years ago
John Engelman
5a15b9fd13
Debug and need glibc in image.
9 years ago
John Engelman
cf4a9d9dc2
Don't need to quote since we aren't in a shell.
Also make sure to split on spaces in args.
9 years ago
John Engelman
991e651835
Configure terraform commands, don't allow any command.
9 years ago
John Engelman
7ab6c29d3e
Initial commit.
9 years ago