Commit Graph

18085 Commits

Author SHA1 Message Date
Paul Stack b348cff246 provider/aws: Documentation fixes for aws_inspector_resource_group (#13695)
Fixes: #13684
2017-04-17 01:26:57 +03:00
Paul Stack 16ec806634 Update CHANGELOG.md 2017-04-17 01:26:40 +03:00
Kent Wang 4c25e1e269 provider/alicloud: Fix create PrePaid instance (#13661) (#13662)
Fixes: #13661
2017-04-17 01:26:06 +03:00
Paul Stack acb5684052 provider/aws: Documentation fixes for aws_api_gateway_* (#13693)
Fixes: #13692
2017-04-17 01:20:47 +03:00
Charlie O'Leary f4b59f2d3a ip_set_descriptors is no longer required. (#13666) 2017-04-16 19:54:04 +03:00
okumin e1ac462b3f Fix billing_acount into billing_account in google_project.html.markdown (#13689) 2017-04-16 19:53:19 +03:00
Yusuke Goto 00dca72bde add wafregional dependencies (#13687) 2017-04-16 11:31:39 +01:00
Phillip Shipley c87459a895 website: updated link to RE2 regex syntax page
Docs had old link to google code, which does not redirect to the new syntax page.
2017-04-15 17:15:14 -07:00
ebilhoo 11093ae688 resourceUltradnsRdpoolRead set rdata 2017-04-15 19:35:26 +00:00
Paul Stack 0d775de78e Update CHANGELOG.md 2017-04-15 17:11:55 +03:00
Gavin Williams c63ad9c0f8 state/remote/swift: Support Openstack request logging (#13583)
* provider/openstack: Expose LogRoundTripper fields externally

* state/remote/swift: Add support for debugging Openstack calls using
OS_DEBUG env variable.

* provider/openstack: Update LogRoundTripper to log headers aswell as body.

* Add `RedactHeaders` function in order to redact sensitive http Headers.
Refactor `logRequest` and `logResponse` to use `RedactHeaders` func.
2017-04-15 17:11:28 +03:00
Radek Simko 1a016ac37f Update CHANGELOG.md 2017-04-15 07:58:15 +01:00
Radek Simko 9504682831 aws: Increase default number of retries to 25 (#13673) 2017-04-15 07:56:41 +01:00
Jay Wang 279b00dd12 Lock Route Table / Subnets 2017-04-14 16:50:46 -07:00
Jay Wang c33810f5ce Updated test to include the scenario 2017-04-14 15:19:22 -07:00
Sander van Harmelen 56dae36f97 Update CHANGELOG.md 2017-04-14 23:44:02 +02:00
Sander van Harmelen 10c6c873ed provider/aws: add an option to skip getting the EC2 platforms (#13672)
* Add an option to skip getting the EC2 platforms

Even through this call fails silently in case of an error (usually lack of rights), it’s still a pretty extensive call.

In our region (eu-west-1) this can take up to 3 seconds. And since we have a system that involves doing much planning with the option `-refresh=false` these additional 3 seconds are really very annoying and totally not needed.

So being able to choose to skip them would make our lives a little better 😉

* Update the docs accordingly
2017-04-14 23:41:59 +02:00
James Bardin 09a9df7098 Merge pull request #13628 from hashicorp/jbardin/GH-13541
[WIP] remove maps with empty counts during expand
2017-04-14 16:46:41 -04:00
Sander van Harmelen 3b1738b2a3 Update CHANGELOG.md 2017-04-14 22:39:52 +02:00
James Bardin f7adde0c44 remove maps with empty counts during expand
When we encounter maps with empty counts, remove them from the expansion
to prevent already empty sub-elements from being retained.

Convert TestExpand to subtests for easier debugging.
2017-04-14 16:33:31 -04:00
Sander van Harmelen 3d0073e05c core: fix a crash by suggesting a different approach to solve #11170 (#13541)
* Revert #11245, #11321, #11498 and #11757

These PR’s are all related to issue #11170 for which I would like to propose a different solution then the one currently implemented.

* A different approach to solve #11170

This approach has (IMHO) a few advantages with regards to the solution currently implemented. I will elaborate on this in the PR.
2017-04-14 22:32:30 +02:00
Radek Simko 80c359c343 Update CHANGELOG.md 2017-04-14 21:12:45 +01:00
Radek Simko 43d5b82f30 provider/aws: Use mutex & retry for WAF change operations (#13656) 2017-04-14 21:12:04 +01:00
clint shryock b253fc7769 Merge branch 'master' of github.com:hashicorp/terraform
* 'master' of github.com:hashicorp/terraform:
  context Refresh and Apply sometimes return nil
2017-04-14 14:13:12 -05:00
clint shryock 46809cc2cc provider/aws: randomize ECS name 2017-04-14 14:13:09 -05:00
James Bardin 1771ba1374 Merge pull request #13665 from hashicorp/jbardin/context-return-state
context Refresh and Apply sometimes return nil
2017-04-14 14:56:47 -04:00
James Bardin 928e60672f context Refresh and Apply sometimes return nil
The documentation for Refresh indicates that it will always return a
valid state, but that wasn't true in the case of a graph builder error.
While this same concept wasn't documented for Apply, it was still
assumed in the terraform apply code.

Since the helper testing framework relies on the absence of a state to
determine if it can call Destroy, the Context can't can't start
returning a state in all cases. Document this, and use the State method
to fetch the correct state value after Apply.

Add a nil check to the WriteState function, so that writing a nil state
is a noop.

Make sure to init before sorting the state, to make sure we're not
attempting to sort nil values. This isn't technically needed with the
current code, but it's just safer in general.
2017-04-14 14:56:10 -04:00
Roman Laguta 7b32ad2b99 Update cloudwatch_log_subscription_filter.html.markdown (#13659)
Currently CloudWatch log subscription supports Lambda as a destination. And we can use `aws_cloudwatch_log_subscription_filter` resource for creating subscriptions with Lambda as a destination, but it needs some additional actions. I described them in description, but feel free to improve description if you can say the same better.
This change will help better understand abilities of using this resource.
2017-04-14 21:09:37 +03:00
clint shryock 41baf7d811 provider/aws: Wait for snapshotting in delete of ElastiCache cluster 2017-04-14 12:54:38 -05:00
Jake Champlin 586593cc16 Update CHANGELOG.md 2017-04-14 12:16:59 -04:00
Jake Champlin ac379e19a7 Merge pull request #13279 from joshuaspence/db_param_group_name
Fix DB parameter group name property
2017-04-14 12:16:18 -04:00
Matthew Frahry 2ff8d58020 Merge pull request #13646 from hashicorp/p-aws-route53-test-fix
Update resource_aws_route53_zone_association_test.go
2017-04-14 08:23:53 -06:00
Jonathan Thomas 4d359b318a website: add enterprise link in header and mobile sidebar. (#13653) 2017-04-14 11:52:14 +03:00
Adam Leventhal a6f28d2d0b typo in iam_instance_profile docs (#13647) 2017-04-14 11:51:29 +03:00
Paul Stack e761814ca0 Update CHANGELOG.md 2017-04-14 11:50:50 +03:00
Josh VanderLinden 24e857ae96 azurerm_redis_cache resource missing hostname (#13650)
* Fix Azure Redis Cache hostname attribute

* Fix inaccurate Azure Redis Cache docs
2017-04-14 11:49:49 +03:00
Dana Hoffman eac63e9efa Update CHANGELOG.md 2017-04-13 16:19:51 -07:00
Dana Hoffman ae5332b42c provider/google: Unset the id for resource_google_project if the create operation fails (#13644) 2017-04-13 16:16:47 -07:00
Matthew Frahry c394e5d653 Update resource_aws_route53_zone_association_test.go 2017-04-13 16:44:19 -06:00
Quentin Machu bf8d932d23
provider/local: Implement a new local_file resource
This commit adds the ability to provision files locally.
This is useful for cases where TerraForm generates assets
such as TLS certificates or templated documents that need
to be saved locally.

- While output variables can be used to return values to
the user, it is not extremly suitable for large content or
when many of these are generated, nor is it practical for
operators to manually save them on disk.
- While `local-exec` could be used with an `echo`, this
provider works across platforms and do not require any
convoluted escaping.
2017-04-13 14:57:29 -07:00
Dana Hoffman 0bd8c7acb2 Update CHANGELOG.md 2017-04-13 13:27:59 -07:00
Mathieu Herbert 25cbbdea8a provider/google: datasource subnetwork and network (#12442)
* first version of this datasource

* add network and subnetwork datasource and documentation

* modify sidebar reference in documentation

* fix elements after review on network and subnetwork datasources

* fix fmt on Google provider.go

* modify code with the review

* modify documentation layout order

* fix alphabetic order in provider.go

* fix rebase issue and documentation datasource => data
2017-04-13 13:25:29 -07:00
clint shryock aeb97165d6 Merge branch 'master' of github.com:hashicorp/terraform
* 'master' of github.com:hashicorp/terraform:
  provider/google: bump container cluster version in tests.
2017-04-13 15:24:28 -05:00
clint shryock 89edd2859c fix go fmt errors, my bad 2017-04-13 15:24:18 -05:00
Paddy a00dafd2c6 Merge pull request #13635 from hashicorp/paddy_fix_node_version
provider/google: bump container cluster version in tests.
2017-04-13 13:23:47 -07:00
ebilhoo 80b6ce9194 add rdpool 2017-04-13 20:19:08 +00:00
clint shryock 923587a0c9 provider/aws: Randomize and fix Dynamo DB test table names 2017-04-13 15:17:48 -05:00
ebilhoo 11939b402c support for rdpool resource 2017-04-13 20:11:43 +00:00
Clint baaf6f5de6 provider/aws: Fix some acc tests (more, again) (#13639)
* add check destroy to subnet data source tests

* provider/aws: Fix TestAccAWSElasticacheCluster_snapshotsWithUpdates by waiting for snapshots

* provider/aws: Fix TestAccAWSRDSCluster_takeFinalSnapshot

* provider/aws: Fix TestAccAWSKinesisFirehoseDeliveryStream_ElasticsearchConfigUpdates by specifying instance type
2017-04-13 15:00:41 -05:00
ebilhoo 09031a9133 rdpool doc 2017-04-13 19:41:14 +00:00