Commit Graph

17397 Commits

Author SHA1 Message Date
Radek Simko 6ff5561947 librato: Work around eventual consistency of the API (#12816) 2017-03-17 16:52:38 +00:00
Paul Stack cb8afe4164 Update CHANGELOG.md 2017-03-17 16:49:54 +00:00
Joshua Spence b823033514 Allow `name_prefix` to be used with various IAM resources (#12658)
Adds the `name_prefix` to `aws_iam_group_policy`, `aws_iam_role_policy` and `aws_iam_user_policy`.
2017-03-17 16:48:42 +00:00
Thomas Poindessous b569f2a130 Change version of Debian image
Hi

this version was not found anymore.

Thanks.
2017-03-17 17:10:03 +01:00
Paul Stack e8dd668063 Update CHANGELOG.md 2017-03-17 16:08:40 +00:00
Joe Topjian f54b0a88a7 provider/openstack: Add timeout support for Compute resources (#12794)
This commit adds support for specifying timeout values for the
openstack_compute_* family of resources.
2017-03-17 16:08:02 +00:00
James Bardin 983e041dc1 Convert dns data tests to acceptance tests
These call out to external resources and can fail in unit tests.
2017-03-17 12:07:29 -04:00
clint shryock f5b3e0c558 provider/aws: Adjust User-Agent header 2017-03-17 10:30:32 -05:00
Paul Stack c9df11e32f provider/pagerduty: Remove legacy pagerduty vendor datasource acctest (#12803)
Removes the test for datasource vendor name_prefix as that field has now
been removed
2017-03-17 11:06:26 +00:00
Radek Simko e6e2535d2e provider/github: Randomize repo and team names in acc tests (#12802) 2017-03-17 10:47:43 +00:00
Radek Simko 9e74548787 provider/circonus: Fix failing acceptance test (#12798) 2017-03-17 10:37:39 +00:00
Mitchell Hashimoto 36f749f825
website: environment at scale wording 2017-03-16 23:37:40 -07:00
Mitchell Hashimoto abbc3b66e2 Update CHANGELOG.md 2017-03-16 23:34:28 -07:00
Mitchell Hashimoto 7f756d1738 Merge pull request #12793 from hashicorp/b-config-module
config/module: don't panic when referencing undefined module
2017-03-16 23:33:53 -07:00
Mitchell Hashimoto 29c7a01025
website: clarify docs with partial config and k/v pairs 2017-03-16 23:33:26 -07:00
Mitchell Hashimoto df8529719c
command/init: backend-config accepts key=value pairs
This augments backend-config to also accept key=value pairs.
This should make Terraform easier to script rather than having to
generate a JSON file.

You must still specify the backend type as a minimal amount in
configurations, example:

```
terraform { backend "consul" {} }
```

This is required because Terraform needs to be able to detect the
_absense_ of that value for unsetting, if that is necessary at some
point.
2017-03-16 23:27:05 -07:00
Mitchell Hashimoto 46250e9b91 Merge pull request #12795 from hashicorp/b-atlas-env
backend/atlas: accept ATLAS_ADDRESS env var for address
2017-03-16 23:09:27 -07:00
Mitchell Hashimoto 23dd2a0ee5
backend/atlas: accept ATLAS_ADDRESS env var for address
This is required for on-premise TFE.
2017-03-16 23:04:07 -07:00
Radek Simko 2082359220 provider/arukas: Randomize names in acceptance tests (#12784) 2017-03-17 05:47:24 +00:00
Mitchell Hashimoto 68ee4e0480
config/module: don't panic when referencing undefined module
Fixes #12788

We would panic when referencing an output from an undefined module. The
panic above this is correct but in this case Load will not catch
interpolated variables that _reference_ an unloaded/undefined module.
Test included.
2017-03-16 20:14:20 -07:00
Mitchell Hashimoto 31c0f33431 Update CHANGELOG.md 2017-03-16 15:49:58 -07:00
Mitchell Hashimoto d7ebea91fe Merge pull request #12785 from hashicorp/b-apply-plan
command: apply needs to look at the right field for backend state
2017-03-16 15:48:55 -07:00
Mitchell Hashimoto e1f4eca93c
command: apply needs to look at the right field for backend state
Plans were properly encoding backend configuration but the apply was
reading it from the wrong field. :( This meant that every apply from a
plan was applying it locally with backends.

This needs to get released ASAP.
2017-03-16 15:44:15 -07:00
Mitchell Hashimoto f7da5d323c
config: test that JSON loading terraform backend info works 2017-03-16 14:51:26 -07:00
Mitchell Hashimoto 25312c8985
command/push: update copy for remote state error 2017-03-16 14:41:37 -07:00
Jeff Wang 38e84f1a78 Fix a code sample that uses incorrect syntax. (#12781) 2017-03-16 21:16:04 +00:00
Radek Simko 50760374e0 aws: Discover supported EC2 platforms (#7568)
This will make it possible/easier to make decisions based on supported EC2 platforms (VPC and/or EC2 Classic)
in the context of any AWS resource which needs make such decisions.
2017-03-16 21:11:55 +00:00
jonatanblue 62098886be add note about default storage for aws_db_instance (#10513)
* fixed broken link

* update one more link

* explicitly define map and change ami to trusty

* remove map definition

* added note about default storage type for aws_db_instance

* added note about default storage type for aws_db_instance

* revert changes to conform with master
2017-03-16 21:10:24 +00:00
Kevin Burke 2d0148083a website: add a realistic copy_options parameter (#11917)
It looks like the copy_options value was fat fingered from the
compression_format parameter - I don't believe that GZIP is a valid value for
copy_options, at least based on the documentation.

Adds a link to the documentation and adds a more realistic (and harmless) value
for the copy_options parameter.
2017-03-16 21:06:00 +00:00
James Bardin 9bfa361e21 Merge pull request #12778 from hashicorp/jbardin/GH-12741
change to default state after backend migration
2017-03-16 16:07:25 -04:00
Mitchell Hashimoto ecc58b1acf Update CHANGELOG.md 2017-03-16 13:05:02 -07:00
Mitchell Hashimoto 6921457601 Merge pull request #12777 from hashicorp/b-refresh-empty
backend/local: allow refresh on empty/non-existent state
2017-03-16 13:04:27 -07:00
Jan Garaj ee3b519778 Update flag update (#11659) 2017-03-16 19:59:28 +00:00
James Bardin ea095eda87 change to default state after backend migration
When migrating from a multi-state backend to a single-state backend, we
have to ensure that our locally configured environment is changed back
to "default", or we won't be able to access the new backend.
2017-03-16 15:55:32 -04:00
cmp 0fc8b2cdcf Cleared up aws_key_pair requirements and purpose (#11647)
This makes it much more directly obvious what `aws_key_pair` does by saying the user *does* provide the key-pair of some kind and that all `aws_key_pair` does is register that public key with an optional name in AWS.
2017-03-16 19:52:47 +00:00
Jake Champlin 19e5fc4830 Update CHANGELOG.md 2017-03-16 15:45:36 -04:00
Jake Champlin 78933cf31c Merge pull request #12765 from hashicorp/f-add-plan-validation-sg-cidr-blocks
provider/aws: Add plan-level validation for SG CIDR blocks
2017-03-16 15:44:56 -04:00
Mitchell Hashimoto 2be1f55cbb
backend/local: allow refresh on empty/non-existent state
This allows a refresh on a non-existent or empty state file. We changed
this in 0.9.0 to error which seemed reasonable but it turns out this
complicates automation that runs refresh since it now needed to
determine if the state file was empty before running.

Its easier to just revert this into a warning with exit code zero.

The reason this changed is because in 0.8.x and earlier, the output
would be simply empty with exit code zero which seemed odd.
2017-03-16 12:11:31 -07:00
Paul Stack ff0ab1318f Update CHANGELOG.md 2017-03-16 19:01:34 +00:00
Willem van Vliet c133143bb2 Added schema to expose public IPv6 (#12748) 2017-03-16 20:00:30 +01:00
Mitchell Hashimoto defc629e60 Update CHANGELOG.md 2017-03-16 11:58:50 -07:00
Mitchell Hashimoto fe4668cc88 Update 2017-03-16 11:58:17 -07:00
Paul Stack 584f69d0b3 Update CHANGELOG.md 2017-03-16 18:57:53 +00:00
Mitchell Hashimoto a958cfba5c Merge pull request #12776 from hashicorp/b-backend-config-change
command: recompute config hash with ConfigFile set
2017-03-16 11:57:35 -07:00
Paul Stack 98009ba733 provider/aws: Stop setting weight property on route53_record read (#12756)
Fixes: #12752

Weight was replaced with weighted_routing_policy in June 2016. But for
some reason we were still doing the following in the Read func:

```
d.Set("weight", -1)
```

As this field was removed, we shouldn't be setting it to state
2017-03-16 19:57:21 +01:00
Mitchell Hashimoto 81639480fb
command: recompute config hash with ConfigFile set
Fixes #12749

If we merge in an extra partial config we need to recompute the hash to
compare with the old value to detect that change.

This hash needs to NOT be stored and just used as a temporary. We want
to keep the original hash in the state so that we don't detect a change
from the config (since the config will always be partial).
2017-03-16 11:47:59 -07:00
Mitchell Hashimoto ead7a3758b Update CHANGELOG.md 2017-03-16 11:07:44 -07:00
Mitchell Hashimoto b3521cf27e Merge pull request #12773 from hashicorp/b-push
command/push: properly test for local state
2017-03-16 11:02:09 -07:00
James Bardin a90d370d68 Merge pull request #12772 from hashicorp/jbardin/GH-12742
Don't interpolate multivariables during walkInput
2017-03-16 13:59:10 -04:00
Mitchell Hashimoto 87201ec854
command/push: test for push with new backends 2017-03-16 10:52:58 -07:00