Ole Markus With
7342525872
Remove vsphere from kops files
2020-05-30 13:36:55 +02:00
Peter Rifel
ef6abbcd5c
Don't use file references for single line strings in gce's metadata fields
2020-05-06 23:06:24 -05:00
Peter Rifel
7d845e5c38
Remove redundant literal function. LiteralFromStringValue is more commonly used.
2020-05-06 23:04:03 -05:00
Peter Rifel
ef76409046
Add support for writing maps of literals, used by gce metadata
2020-04-08 22:16:57 -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
tanjunchen
28fdb358f8
fix-up staticcheck error
2019-10-08 13:53:04 +08:00
mikesplain
9e55b8230a
Update copyright notices
...
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
Justin SB
76d03b3f71
Generated files: glog -> klog
2019-05-06 12:56:03 -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
609e268a1d
gazelle updates with new bazel version
2017-11-05 17:41:53 -07: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
0143be7c4f
autogen: BUILD and BUILD.bazel
2017-10-02 14:27:21 -04:00
Justin Santa Barbara
fa1be5371c
Dump invalid HCL if we hit it
2017-09-22 09:29:21 -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
71df0aaefb
Feature flag for tf fmt
2017-01-30 21:15:52 -05:00
Vincent Ambo
35e6430a49
fix cloudup: Apply Terraform formatting to TF files
...
This change runs Terraform code through the hcl_printer's formatter
again after code generation.
For some reason the generation step weaves in spaces between resource
attributes (which kops is already working around), however formatting
has to be applied again in order for alignment to match up.
2017-01-27 21:16:46 +01: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
3942ffa8fb
Deeper DNS validation: don't create hosted zone
...
Avoids a problem with TF output, but also lays the groundwork for deeper
DNS validation, which is probably the #1 source of problems right now.
2016-09-13 12:45:12 -04: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
6932ff4a06
Make sure terraform output is stable across runs
...
Fixes #132
2016-06-27 00:04:43 -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
93284d5d13
upup: reformat terraform output
...
Using string manipulation, sadly, but I believe it's safe as we don't
use heredocs
2016-06-09 23:07:12 -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