Commit Graph

18684 Commits

Author SHA1 Message Date
Radek Simko
f33afb7e4e
provider/aws: Support IPSets with 0 descriptors 2017-04-24 21:53:25 +02:00
Radek Simko
01aa3fd76a
provider/aws: Fix WAF IPSet descriptors removal on update 2017-04-24 21:53:25 +02:00
anniehedgpeth
e4b1cf7f91 Merge branch 'topic-101-vm-simple-linux' of https://github.com/10thmagnitude/terraform into topic-101-vm-simple-linux 2017-04-24 14:39:47 -05:00
anniehedgpeth
5850bc8cf9 azuredeploy.tf to main.tf in README 2017-04-24 14:38:14 -05:00
Scott Nowicki
942c23a554 Merge branch 'master' into topic-101-vm-simple-linux 2017-04-24 14:35:48 -05:00
Radek Simko
2db0e12e63 Update CHANGELOG.md 2017-04-24 20:47:57 +02:00
Radek Simko
cda84b1674 provider/aws: Expose invoke ARN from Lambda function (for APIG) (#13890) 2017-04-24 20:47:11 +02:00
Radek Simko
28851ef5d9 Update CHANGELOG.md 2017-04-24 20:46:39 +02:00
Radek Simko
3c2a40a192 provider/aws: Expose execution ARN + invoke URL for APIG deployment (#13889) 2017-04-24 20:43:56 +02:00
Scott Nowicki
938402edba bad syntax 2017-04-24 13:43:38 -05:00
Julien Pivotto
61d183eded provider/digitaocean: Test that droplets are indempotent (#13883)
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2017-04-24 21:43:27 +03:00
Bernerd Schaefer
acdb5c659a provider/heroku: set app buildpacks from config
Many apps deployed to Heroku require that multiple buildpacks be
configured in a particular order to operate correctly.

This updates the builtin Heroku provider's app resource to support
configuring buildpacks and the related documentation in the website.

Similar to config vars, externally set buildpacks will not be altered if
the config is not set.
2017-04-24 11:40:29 -07:00
Scott Nowicki
441b86ac86 explicit build dirs 2017-04-24 13:40:07 -05:00
Scott Nowicki
679aa2e014 run script in wrong dir 2017-04-24 13:30:03 -05:00
Scott Nowicki
fcffe2d82b easier to export in before_deploy block 2017-04-24 13:27:00 -05:00
Scott Nowicki
d4ea91a029 removal of extra cd 2017-04-24 13:14:02 -05:00
Scott Nowicki
d0e8c2816c fixed travis cfg 2017-04-24 13:09:53 -05:00
Radek Simko
b7bdd550ac Update CHANGELOG.md 2017-04-24 20:06:55 +02:00
Radek Simko
5681a47260 Merge pull request #13878 from hashicorp/f-core-computed-fields-validation
helper/schema: Disallow validation+diff suppression on computed fields
2017-04-24 20:04:28 +02:00
Scott Nowicki
986b0682ea travis syntax changes 2017-04-24 12:50:47 -05:00
Scott Nowicki
9232165e20 rename; and execute perms 2017-04-24 12:22:54 -05:00
Paul Stack
7d6d524945 Update CHANGELOG.md 2017-04-24 20:21:02 +03:00
Paul Stack
1d350ed5ef provider/aws: Adding support for ipv6 to aws_subnets needs migration (#13876)
Fixes: #13829

When IPv6 support was added to subnets, we added a new parameter that
had a default value. This means that users are experiencing unexpected
changes in their configuration

We need a schema migration in place to make sure this isn't the case for
the users who have not upgraded yet

```
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/23 10:36:43 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAWSSubnetMigrateState -timeout 120m
=== RUN   TestAWSSubnetMigrateState
2017/04/23 10:37:27 [INFO] Found AWS Subnet State v0; migrating to v1
2017/04/23 10:37:27 [DEBUG] Attributes before migration: map[string]string{}
2017/04/23 10:37:27 [DEBUG] Attributes after migration: map[string]string{"assign_ipv6_address_on_creation":"false"}
--- PASS: TestAWSSubnetMigrateState (0.00s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/aws	0.021s
```
2017-04-24 18:20:32 +01:00
Andy Lindeman
46fd77bbed Clears branch protection from state only if error is an HTTP 404 (#13887) 2017-04-24 18:19:27 +01:00
Scott Nowicki
ccfdc3c6c3 branch restrictions 2017-04-24 12:17:22 -05:00
Scott Nowicki
02952cac6f cleanup/reorg 2017-04-24 12:14:07 -05:00
Scott Nowicki
3e498199e9 fixed broken syntax for travis 2017-04-24 12:02:06 -05:00
Scott Nowicki
9a7e42459b cleanup; sane defaults 2017-04-24 11:45:24 -05:00
clint shryock
fe15c68aa9 provider/aws: Fix-up TestAccAWSIAMInstanceProfile_missingRoleThrowsError
A change in the error produced by the resource was causing the regex to
fail
2017-04-24 10:24:34 -05:00
Tom Harvey
1206ab9865 Updating to include #13899 2017-04-24 16:19:02 +01:00
Tom Harvey
a7401ad354 Merge pull request #13899 from hashicorp/azurerm-redis-bug
provider/azurerm: fixing a bug refreshing the `azurerm_redis_cache`
2017-04-24 16:17:00 +01:00
tombuildsstuff
04bf00f0c6 Comment explaning why we can have deleted resources in the state 2017-04-24 15:35:59 +01:00
Scott Nowicki
277683833e cleanup 2017-04-24 09:23:15 -05:00
Tom Harvey
9b5055112a provider/azurerm: Updating the Redis Documentation (#13893)
* Updating the Redis documentation to better match the Azure docs

* Updating the docs to use a C2 instance, to make it clearer
2017-04-24 15:22:51 +01:00
Jake Champlin
4239c6a441 Update CHANGELOG.md 2017-04-24 09:13:39 -04:00
Jake Champlin
78bc9ed09d Merge pull request #13861 from hashicorp/pr-10594
provider/aws: Adds aws_network_interface_attachment resource
2017-04-24 09:12:38 -04:00
tombuildsstuff
8e58be37c7 Ensuring the Redis instance exists. Fixes #13896 2017-04-24 11:38:47 +01:00
Richard Clamp
631b0b865c provider/gitlab: add gitlab provider and gitlab_project resource
Here we add a basic provider with a single resource type.

It's copied heavily from the `github` provider and `github_repository`
resource, as there is some overlap in those types/apis.

~~~
resource "gitlab_project" "test1" {
  name = "test1"
  visibility_level = "public"
}
~~~

We implement in terms of the
[go-gitlab](https://github.com/xanzy/go-gitlab) library, which provides
a wrapping of the [gitlab api](https://docs.gitlab.com/ee/api/)

We have been a little selective in the properties we surface for the
project resource, as not all properties are very instructive.
Notable is the removal of the `public` bool as the `visibility_level`
will take precedent if both are supplied which leads to confusing
interactions if they disagree.
2017-04-24 11:38:20 +01:00
Tom Harvey
105167c6cb Updating to include #13885 2017-04-24 11:02:59 +01:00
Tom Harvey
7368ea4119 Merge pull request #13885 from tomelliff/validateWafRuleMetricName
provider/aws: Validate WAF metric names
2017-04-24 11:00:05 +01:00
Tom Elliff
18c6c3b47b Validate WAF metric names
WAF metric names must be alphanumeric only.
See http://docs.aws.amazon.com/waf/latest/developerguide/web-acl-rules.html#web-acl-rules-creating and
http://docs.aws.amazon.com/waf/latest/developerguide/web-acl-working-with.html#web-acl-creating
2017-04-23 21:46:39 +01:00
Máximo Cuadros
a217acf789 ignition: internal cache moved to global, instead per provider instance 2017-04-23 20:32:04 +02:00
Radek Simko
cb2f224180
provider/rancher: Remove DiffSuppressFunc from Computed-only fields 2017-04-23 12:41:18 +02:00
Radek Simko
3954276490
provider/consul: Remove ValidateFunc from Computed-only fields 2017-04-23 12:40:58 +02:00
Radek Simko
f95b37638d
provider/circonus: Remove ValidateFunc from Computed-only field 2017-04-23 12:40:17 +02:00
Radek Simko
9867ce4dde
helper/schema: Disallow validation+diff suppression on computed-only fields 2017-04-23 12:25:40 +02:00
Viktor Voltaire
42473d5129 Update route53_record.html.markdown (#13677)
Added set_identifier example for import
2017-04-23 11:49:15 +02:00
Radek Simko
eced7e39d4 Update CHANGELOG.md 2017-04-23 11:46:31 +02:00
Brandon Clodius
399cf72414 Fixes issue for cross account iam role with aws_lambda_permission (#13865) 2017-04-23 11:44:07 +02:00
Radek Simko
6327796f4a Update CHANGELOG.md 2017-04-23 11:26:31 +02:00