0
0
mirror of https://github.com/thegeeklab/wp-opentofu.git synced 2024-11-13 23:40:39 +00:00
Commit Graph

41 Commits

Author SHA1 Message Date
Neemias Junior
efe3702937
revert godotenv.Load to main.go 2020-02-12 10:11:46 -06:00
Neemias Junior
22f9a710f1
Loading credentials from env_file parameter 2020-02-12 10:11:11 -06:00
Caio Quirino
baff3b84aa
Updated DOCS to have the new tf_data_dir param 2019-07-22 16:20:29 +02:00
Caio Quirino da Silva
eb0aab1bbc
tf_data_dir to be String instead of StringSlice 2019-07-17 21:33:16 +02:00
Caio Quirino
5ba916070a
Added tf_data_dir parameter and changed plugin to respect TF_DATA_DIR
This commit will enable the plugin to do parallel builds.
The first change is to use Terraform's TF_DATA_DIR environment variable to change the state directory so they will not conflict each other in parallel executions
The second change is to change the plan's output to a different file so they will not be overriden by another parallel execution
2019-07-17 15:48:56 +02:00
Robert Stettner
a58086163a Added fmt action 2019-02-04 17:21:54 +00:00
Jacob McCann
81e17a4339
Merge pull request #58 from jmccann/commands
Provide commands to run via actions
2018-04-25 07:53:17 -05:00
Florian Bertholin
0ef1c728e1 Add .netrc support 2018-04-06 13:43:17 +02:00
Jacob McCann
a4d1880e41 Update default actions to include plan 2018-02-14 10:47:32 -06:00
Jacob McCann
77bd39b3ef Formatting 2018-02-14 10:06:42 -06:00
Jacob McCann
0faae5eb94 Alphabetize flags 2018-02-14 09:39:20 -06:00
Jacob McCann
a3571a2b10 Provide actions to run 2018-02-14 09:35:07 -06:00
Jacob McCann
29ef683a08 Ability to override version of terraform used 2017-09-06 13:52:01 -05:00
marcin.suterski
ff7e2e547e
Add support for terraform destroy command 2017-08-08 17:16:20 -04:00
Jacob McCann
eb649f82d7 Merge pull request #41 from msuterski/tf-0.9.4
Tf 0.9.4
2017-05-12 08:39:29 -05:00
marcin.suterski
73851ed5d8
Remove remote struct and option lookup since they are not being used any more 2017-05-11 12:34:37 -04:00
marcin.suterski
ceefb39d61
Add init command for TF 0.9.x 2017-05-08 11:40:14 -04:00
Nic Maki
eede51fea6 added ability to pass -var-file args to plan 2017-02-06 18:39:00 -06:00
edwinavalos
04a9dd1ead Fix bug in terraform.remote kev value lookup (#31)
terraform.remote isn't valid, you should check in remote for the config section under it
2016-12-21 07:08:55 -06:00
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
2016-12-20 19:43:45 -06:00
Jacob McCann
b89636d36e Remove 'terraform.' prefix from command arguments 2016-10-20 19:44:40 +05:30
Jacob McCann
914ed2ba90 Allow 'secrets' and 'vars' to be blank 2016-10-20 19:16:56 +05:30
Jacob McCann
ef64a0f2a3 Use logrus for logging messages 2016-10-09 10:38:37 +05:30
Jacob McCann
0208bfdc19 Initial Working 0.5 version 2016-10-08 21:04:43 +05:30
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'.
2016-06-18 16:57:15 -04:00
Jeff Storey
4aaf028ac3 not using dir as base dir if it's empty 2016-06-01 20:53:32 -04:00
Jeff Storey
bb77afac6e terraform get and gofmt 2016-05-31 21:56:46 -04:00
Jeff Storey
be0a96d664 adding ability to change root dir for commands
Conflicts:
	main.go
2016-04-04 17:36:22 -04:00
Jeff Storey
90a46bd02c allow assume role before running terraform commands 2016-03-23 08:43:20 -04:00
Thomas Boerger
f10224da92 Print out the plugin version to help debugging 2016-02-24 23:42:21 +01:00
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.
2016-02-18 18:15:35 -06:00
Jacob McCann
0a79958afc Add sensitive flag
Do not show commands being ran if sensitive is true
2016-02-18 13:28:13 -06:00
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.
2016-02-15 10:10:39 -06:00
Jacob McCann
2e74fe1180 Add ability to inject internal CA Cert 2016-02-15 10:10:39 -06:00
jackspirou
e685b92711 use plan instead of dry-run 2016-02-14 16:00:32 -06:00
John Engelman
a59a5a449d A few doc and JSON fixes from review. 2016-01-27 07:22:07 +01:00
John Engelman
431099eb7d TF apply only if NOT dryRun. 2016-01-26 23:50:26 +01:00
John Engelman
5a15b9fd13 Debug and need glibc in image. 2016-01-26 23:50:26 +01:00
John Engelman
cf4a9d9dc2 Don't need to quote since we aren't in a shell.
Also make sure to split on spaces in args.
2016-01-26 23:50:26 +01:00
John Engelman
991e651835 Configure terraform commands, don't allow any command. 2016-01-26 23:50:26 +01:00
John Engelman
7ab6c29d3e Initial commit. 2016-01-26 23:50:26 +01:00