John Gardiner Myers
57dec35f68
Split out TerraformWriter
2021-05-02 21:54:46 -07:00
John Gardiner Myers
4e53018cf8
Split out getOutputs()
2021-05-02 21:06:20 -07:00
John Gardiner Myers
1a848e9ebb
Split out getResourcesByType()
2021-05-02 19:40:09 -07:00
John Gardiner Myers
5c4f1c4f6c
Adjust sorting of resources in hcl2
2021-05-02 19:39:23 -07:00
John Gardiner Myers
7921a5bd7e
Separate TerraformTarget.AddFile() into two receivers
2021-05-02 16:47:33 -07:00
Justin SB
8fb7f1930d
Use Region method of fi.Cloud
...
There's no need to track it separately, now that we have the Region
method on the Cloud interface.
2020-12-21 20:50:54 -06:00
Barry Melbourne
84417c330b
Set minimum Terraform version to 0.12.26/0.13.0
2020-10-28 20:24:41 +00:00
Peter Rifel
4d9f0128a3
Upgrade to klog2
...
This splits up the kubernetes 1.19 PR to make it easier to keep up to date until we get it sorted out.
2020-08-16 20:56:48 -05:00
Peter Rifel
964d402eb5
Store terraform launchtemplate userdata in plaintext rather than b64
...
This makes it easier to grok the userdata contents
2020-06-16 16:53:49 -05:00
Peter Rifel
4e6e00bec1
Add Terraform 0.12 rendering support and feature flag
2020-04-05 21:18:03 -05:00
Christian van der Leeden
549f54de48
Enabling JSON output for Terraform instead of writing the HCL syntax tf file. JSON syntax is officially supported in 0.12 and a terraform version requirement will be set. For previous installations you need to delete the .tf file by hand. JSON generation will fail if kubernetes.tf is present.
...
Added Integration Test using minimal test setup
Added documentation. For terraform 0.12 support the resource names need to be changed still
2020-01-17 22:03:19 +01:00
Christian van der Leeden
118300a876
setting google provider to at least 3.0.0
2019-12-14 19:35:32 +01:00
mikesplain
9e55b8230a
Update copyright notices
...
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
Justin SB
3e33ac7682
Change code from glog to klog
...
We don't call klog.InitFlags yet, because that will cause a flag
redefinition error until we get everyone to stop using glog. That
will happen when we update to k8s 1.13.
2019-05-06 12:54:51 -04:00
Justin SB
26bd75aecb
Bulk spelling fixes
...
Experimenting with my own spelling checker, these are the typos it caught.
2018-12-20 17:43:56 -05:00
Ariel Mashraki
7dca8a78d2
terraform: Fix resource formatting for IPv6 CIDRs
...
Solved #5976
2018-10-20 15:58:42 +03:00
Christian Kampka
978f66266c
Generate locals for terraform target
2018-07-13 22:28:27 +02:00
Martyn Ranyard
e0200fbe95
Add TerraformProviderExtraConfig to cluster spec
2018-01-31 11:33:49 +01:00
chrislovecnm
1e418c3e13
more goimport updates
2017-11-04 10:03:02 -06:00
Justin Santa Barbara
e063af8d5a
Sort terraform literals in ELB task
...
Fixes #3578
2017-10-11 00:01:11 -04:00
Justin Santa Barbara
d2df318ecc
Move CloudProvider to kops API
...
This avoids a circular reference when breaking up the fi package
2017-06-17 16:27:07 -04:00
Justin Santa Barbara
eabbd1402b
Add required terraform version declaration
...
Terraform is changing its schema, and we probably want to encourage
users to use the newer terraform versions anyway.
See #2424
2017-05-15 11:20:32 -04:00
SandeepPissay
82f9f0668d
vsphere initial support.
2017-04-20 23:31:21 -07:00
Justin Santa Barbara
2a34e6d00e
Output variables from terraform, for reuse in a module
...
Issue #1026
2017-02-17 11:05:06 -05:00
Justin Santa Barbara
ffc524ced6
Skip deletion processing for terraform
...
Terraform processes deletions itself
Fix #1515
2017-01-20 11:37:20 -05:00
icereval
2bea2987dd
add path.module
2016-12-04 18:37:37 -05:00
chrislovecnm
8fa2aac99f
fixing more headers
2016-10-15 19:20:56 -06:00
Justin Santa Barbara
a9922d0a07
Fix concurrent map write bug in TF creation
...
Thanks for reporting @azell
Fix #235
2016-08-02 23:12:53 -04:00
Justin Santa Barbara
d427858477
Rename to kops
...
The upup tool is now called kops, and we have moved repos
2016-06-30 09:25:25 -04:00
Justin Santa Barbara
26d05341b4
Move options to common stage, so that it works with terraform generation
2016-06-27 15:21:31 -04:00
Justin Santa Barbara
55574ec3f5
upup: apply gofmt
2016-06-11 23:09:44 -04:00
Justin Santa Barbara
f3ebc088f1
upup: make LaunchConfiguration compatible with terraform
...
This way we can output a LaunchConfiguration prefix into terrform that
we can then read later, so that we can create with terraform and then
transfer to another mode of operation if desired.
2016-06-10 13:36:36 -04:00
Justin Santa Barbara
c826f46a60
upup: support for terraform on AWS
...
All seems good except for a bug with volume tagging
2016-06-08 12:19:15 -04:00
Justin Santa Barbara
d4c2cfaae7
Initial version of upup: cloudup & nodeup
...
* GCE support only
* Key and secret generation
* "Direct mode" makes API calls
* "Dry run mode" previews the changes
* Terraform output (though key generation not working for master ip)
* cloud-init output (though debian image does not ship with cloud-init)
2016-05-06 16:01:33 -04:00