Mitchell Hashimoto
cddd54c3de
fmt
2015-06-23 22:31:24 -07:00
Mitchell Hashimoto
76d920f504
state/remote: more canonical Go for skip TLS verify
...
/cc @LeftyBC - Hope this helps! Some basic point:
* Idiomatic Go is to use thisCasingStyle and not this_casing_style
* Less repetitive to just create an http.Client once and re-use, also
more flexible for later.
* The empty `if ok {}` was kind of awkward, replace with proper check
2015-06-07 22:24:31 -07:00
Mitchell Hashimoto
6649658d62
Merge pull request #2220 from LeftyBC/master
...
state/remote: Add a boolean flag to http remote that disables cert validity checking (for e.g. self-signed certs)
2015-06-07 22:19:31 -07:00
George Hartzell
4fc6dd0141
Only run Swift tests when Swift is available
...
Only run the Swift remote tests when OpenStack seems
to have been set up and when the autho host is reachable.
2015-06-06 10:19:25 -07:00
George Hartzell
258b1a4263
Implement OpenStack/Swift remote
...
Rework devcamcar's OpenStack Swift remote [pull
request](https://github.com/hashicorp/terraform/pull/942 ) to work with
Terraform's new `state/remote` and Gophercloud's current implementation.
`Get()` changed up a bit from devcamcar's version (using different
Gopercloud functionality resulted in less fussing around to figure out
the error case).
Otherwise this is a transliteration/remix of his ideas.
2015-06-06 10:04:31 -07:00
Colin Moller
67e56671ec
Merge remote branch 'upstream/master'
2015-06-03 17:47:32 -07:00
Colin Moller
e7130e9c85
go fmt
2015-06-03 17:23:45 -07:00
Colin Moller
fc2f97ca89
Add a boolean flag to http remote that disables cert validity checking (for e.g. self-signed certs)
2015-06-03 17:09:02 -07:00
Paul Hinze
b71fa3d0ae
provider/aws: handle upstream aws-sdk-go repo move
...
`awslabs/aws-sdk-go => aws/aws-sdk-go`
Congrats to upstream on the promotion. :)
2015-06-03 13:36:57 -05:00
Clint Shryock
883e2848c6
update remote state s3 file to fix error
2015-05-20 15:20:30 -05:00
Paul Hinze
31258e06c6
provider/aws: fix breakages from awserr refactor
...
This landed in aws-sdk-go yesterday, breaking the AWS provider in many places:
3c259c9586
Here, with much sedding, grepping, and manual massaging, we attempt to
catch Terraform up to the new `awserr.Error` interface world.
2015-05-20 06:21:23 -05:00
Sander van Harmelen
897bf5e53d
Added `SharedCredentialsProvider` and `EC2RoleProvider` as well...
2015-05-05 20:38:35 +02:00
Sander van Harmelen
5435815524
Fixing PR #1804
2015-05-05 20:30:35 +02:00
Sander van Harmelen
7274de3c1d
Small fix needed to be inline with the updated AWS SDK again...
...
Executed a couple of AWS ACC test as well to make sure everything works
properly again after this fix…
2015-05-05 12:26:26 +02:00
Martin Atkins
53e93d6f63
S3 remote stage storage backend, against the new remote state API.
...
Stores state in a particular key in a given S3 bucket.
2015-04-30 09:21:49 -07:00
Mitchell Hashimoto
c58e09abaa
state/remote: make malformed name message clearer [GH-1332]
2015-04-22 08:59:30 +02:00
Mitchell Hashimoto
1fac7b6488
state: cache should use State.Equal to check equality
...
reflect.DeepEqual was returning false, sometimes.
2015-04-07 15:03:04 -07:00
Paul Hinze
0a24e72c3b
state/remote: allow https consul addresses
...
Sending state over a cleartext protocol is bad in untrusted networks.
Expose `-backend-config="scheme=https"` and wire it through to the
Consul client.
2015-03-17 17:11:35 -04:00
Mitchell Hashimoto
aee27314eb
state/remote: add undocumented file backend for remote state
2015-03-05 13:15:14 -08:00
Mitchell Hashimoto
cc8e6b6331
state: deep copies are required
2015-02-23 21:36:58 -08:00
Mitchell Hashimoto
ed6128aa6e
state/remote: increment serial properly
2015-02-23 21:30:59 -08:00
Mitchell Hashimoto
c2bf600603
state: only change serial if changed
2015-02-23 21:26:33 -08:00
Mitchell Hashimoto
bfe0edef51
state/remote: passing Atlas state test
2015-02-23 17:56:29 -08:00
Mitchell Hashimoto
aaf182a4a7
state/remote: nitpick some style
2015-02-23 15:34:09 -08:00
Mitchell Hashimoto
4d126998b5
state/remote: atlas
2015-02-23 15:13:56 -08:00
Mitchell Hashimoto
3bf59183b8
state: InmemState
2015-02-23 15:13:55 -08:00
Mitchell Hashimoto
5555059540
state/remote: real HTTP client tests
2015-02-23 15:13:55 -08:00
Mitchell Hashimoto
f2c6c12535
command/pull: remove remote package
2015-02-23 15:13:55 -08:00
Mitchell Hashimoto
b3aaf6feac
state/remote: add HTTP client
2015-02-23 15:13:54 -08:00
Mitchell Hashimoto
4ec63bc2ef
command: deal with plan states
2015-02-23 15:13:54 -08:00
Mitchell Hashimoto
89d3a10adf
state: backup state
2015-02-23 15:13:54 -08:00
Mitchell Hashimoto
5c356f35b9
state: LocalState supports alternate output path
2015-02-23 15:13:54 -08:00
Mitchell Hashimoto
34864a64a5
state: LocalState allows file to not exist
2015-02-23 15:13:54 -08:00
Mitchell Hashimoto
579f102f37
command: start migrating to new state package
2015-02-23 15:13:54 -08:00
Mitchell Hashimoto
1eec77378b
state/remote: can handle nil payloads
2015-02-23 15:13:53 -08:00
Mitchell Hashimoto
399319d31f
state/remote: comment
2015-02-23 15:13:53 -08:00
Mitchell Hashimoto
b8836ff279
state/remote: consul client
2015-02-23 15:13:53 -08:00
Mitchell Hashimoto
66bace35e5
state: add strings for cache refresh result
2015-02-23 15:13:53 -08:00
Mitchell Hashimoto
6ec1b2b455
state: cache state test
2015-02-23 15:13:53 -08:00
Mitchell Hashimoto
1f7ddc30fe
state: a bunch of state stuff
2015-02-23 15:13:53 -08:00