Quentin Machu
f721608e4e
provider/template: Add a 'dir' resource to template entire directories
...
When TerraForm is used to configure and deploy infrastructure
applications that require dozens templated files, such as Kubernetes, it
becomes extremely burdensome to template them individually: each of them
requires a data source block as well as an upload/export (file
provisioner, AWS S3, ...).
Instead, this commit introduces a mean to template an entire folder of
files (recursively), that can then be treated as a whole by any provider
or provisioner that support directory inputs (such as the
file provisioner, the archive provider, ...).
This does not intend to make TerraForm a full-fledged templating system
as the templating grammar and capabilities are left unchanged. This only
aims at improving the user-experience of the existing templating
provider by significantly reducing the overhead when several files are
to be generated - without forcing the users to rely on external tools
when these templates stay simple and that their generation in TerraForm
is justified.
2017-04-25 10:48:26 -07:00
Jake Champlin
c839a7b2ff
Merge pull request #13910 from bernerdschaefer/bs-heroku-buildpacks
...
provider/heroku: set app buildpacks from config
2017-04-25 10:40:19 -04:00
Josh Komoroske
414060c83b
Documented aws_api_gateway_usage_plan.api_stages attributes as required ( #13930 )
2017-04-25 09:21:49 -05:00
Seth Vargo
b64c9a73cc
Document that random_pet is referenced by id
2017-04-24 16:38:23 -04: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
3c2a40a192
provider/aws: Expose execution ARN + invoke URL for APIG deployment ( #13889 )
2017-04-24 20:43:56 +02: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
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
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
Viktor Voltaire
42473d5129
Update route53_record.html.markdown ( #13677 )
...
Added set_identifier example for import
2017-04-23 11:49:15 +02:00
Gauthier Wallet
891e517879
provider/aws: Updated documentation for Cloudfront ( #13874 )
...
This adds the missing exported attribute named `ARN`, as exposed [in the code](https://github.com/hashicorp/terraform/blob/master/builtin/providers/aws/resource_aws_cloudfront_distribution.go#L592 ).
2017-04-23 04:53:45 +03:00
Kit Ewbank
ff9af4c90b
Add tagging support to the 'aws_lambda_function' resource. ( #13873 )
2017-04-23 04:51:20 +03:00
Jake Champlin
44714c094b
expand docs
2017-04-21 15:45:33 -04:00
Jake Champlin
9ef947b0c3
Merge remote-tracking branch 'origin' into pr-10594
2017-04-21 15:37:39 -04:00
Michael Dunton
8995f1afdb
provider/fastly: GCS ( #13553 )
...
* PAAS-5611 Adding docs
* PAAS-5611 adding gcs logging resource
* PAAS-5611 adding gcs testing
* Adding testing file
* Cleaning up type and making flatten array clearer
* Fixing issue with tests
2017-04-21 19:44:25 +03:00
Paul Stack
358e1c2890
provider/oneandone: Adding the documentation to the sidebar ( #13853 )
...
Also renaming the files and adding the hcl syntax highlighting
2017-04-21 19:37:10 +03:00
Jake Champlin
022d0cd14f
Merge pull request #10590 from pielu/aws/feature/r-net-iface-ips-count
...
provider/aws: Exercise SecondaryPrivateIpAddressCount for network interface
2017-04-21 10:25:44 -04:00
Jake Champlin
a7ccf1c76b
Merge pull request #13846 from hashicorp/b-update-opc-instance-docs
...
provider/opc: Fix Instance Label / Update Docs
2017-04-21 10:20:09 -04:00
Jasmin Gacic
61499cfcf0
Provider Oneandone ( #13633 )
...
* Terraform Provider 1&1
* Addressing pull request remarks
* Fixed imports
* Fixing remarks
* Test optimiziation
2017-04-21 17:19:10 +03:00
Jake Champlin
2eaf6beff0
provider/opc: Fix Instance Label / Update Docs
...
Fix issue with an instances label causing a ForceNew if omitted.
Also updates mistyped docs for the `opc_compute_security_list` resource.
```
$ make testacc TEST=./builtin/providers/opc TESTARGS="-run=TestAccOPCInstance_emptyLabel"
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/21 09:57:48 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/opc -v -run=TestAccOPCInstance_emptyLabel -timeout 120m
=== RUN TestAccOPCInstance_emptyLabel
--- PASS: TestAccOPCInstance_emptyLabel (574.79s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/opc 574.835s
```
2017-04-21 10:09:26 -04:00
Paul Stack
72a14ef2bb
provider/aws: Add IPv6 outputs to aws_subnet datasource ( #13841 )
...
Fixes : #13595
```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccDataSourceAwsSubnet'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/21 13:52:43 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccDataSourceAwsSubnet -timeout 120m
=== RUN TestAccDataSourceAwsSubnetIDs
--- PASS: TestAccDataSourceAwsSubnetIDs (81.05s)
=== RUN TestAccDataSourceAwsSubnet
--- PASS: TestAccDataSourceAwsSubnet (57.48s)
=== RUN TestAccDataSourceAwsSubnetIpv6ByIpv6Filter
--- PASS: TestAccDataSourceAwsSubnetIpv6ByIpv6Filter (82.63s)
=== RUN TestAccDataSourceAwsSubnetIpv6ByIpv6CidrBlock
--- PASS: TestAccDataSourceAwsSubnetIpv6ByIpv6CidrBlock (82.43s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/aws 303.625s
```
2017-04-21 16:54:55 +03:00
Joshua Spence
2aac8fb8fc
Add `aws_ami_ids` and `aws_ebs_snapshot_ids` resources ( #13844 )
...
Fixes #12081 . Adds new `aws_ami_ids` and `aws_ebs_snapshot_ids` resources.
2017-04-21 16:37:26 +03:00
Julien Pivotto
c2a1e688cb
Add DigitalOcean datasource digitalocean_image ( #13787 )
...
Add a new data source for Digital Ocean that finds snapshots by name.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2017-04-21 16:25:34 +03:00
Paul Stack
214a212704
provider/aws: Make iam_role_attachment example not throw any errors ( #13843 )
...
Fixes : #13398
2017-04-21 14:33:27 +03:00
Paul Stack
0aad5f2c43
provider/aws: Add replica_source_db to the aws_db_instance datasource ( #13842 )
...
Fixes : #13471
2017-04-21 14:23:48 +03:00
Gauthier Wallet
80d940d154
provider/aws: Added Cognito Identity Pool ( #13783 )
2017-04-21 12:53:48 +03:00
stack72
82293bf59e
Merge branch 'master' of github.com:hashicorp/terraform
2017-04-21 12:52:22 +03:00
stack72
83c4d5d71d
provider/google: Documenting the import process for compute_network
2017-04-21 12:51:24 +03:00
Pasha Palangpour
2a7b0e7e36
provider/ns1: record documentation improvements ( #13786 )
...
* provider/ns1: Adds acctest for SRV type records
* ns1/provider: Adds dns record examples to documentation.
2017-04-21 12:38:05 +03:00
Joshua Spence
f3b5a883b7
Add `bucket_prefix` to `aws_s3_bucket` ( #13274 )
...
Adds a `bucket_prefix` parameter to the `aws_s3_bucket` resource.
2017-04-20 23:28:40 +03:00
Dominik-K
565f0a4e0f
`roles` deprecated in docs & code error message ( #13622 )
2017-04-20 23:02:48 +03:00
Chris Broglie
3f0934bd4e
provider/aws: Add aws_kinesis_stream data source ( #13562 )
...
This fixes #13521
2017-04-20 22:13:39 +03:00
Jake Champlin
35388cbc31
Merge pull request #13468 from hashicorp/f-oracle-compute
...
provider/opc: Add Oracle Compute Provider
2017-04-20 14:52:39 -04:00
Andy Lindeman
28d71e6624
provider/github: Implements github_branch_protection ( #10476 )
2017-04-20 21:11:49 +03:00
terraformbot
7925b76bad
provider/aws: Change s3_bucket documentation example to work ( #13811 )
...
Fixes : #13789
2017-04-20 21:00:05 +03:00
Joe Topjian
6262a73de7
provider/rabbitmq: Allow users without tags ( #13798 )
...
This commit makes the tags attribute optional for users. It also
handles cases when a user defines a tag as an empty string ("").
2017-04-20 20:10:20 +03:00
Alexander
9bd50a1219
provider/google: BigQuery Dataset ( #13436 )
...
* Vendor BigQuery
* Add resource
* Add tests
* Add documentation
* Remove named import
* Remove `retain_on_delete`
* Fix formatting
2017-04-20 09:47:38 -07:00
ebilhoo
a8b8404589
rdpool doc
2017-04-18 15:08:18 +00:00
KOJIMA Kazunori
47d255f943
provider/aws: Add aws_kms_alias datasource ( #13669 )
2017-04-18 15:29:14 +03:00
demonwy
69ec7e12ac
provider/alicloud: Add new resource ESS, including scalinggroup scalingconfiguration scalingrule and schedule ( #13731 )
...
* add docs
* add new resource ess
* add examples
* update aliyun go
* merge master
* fix ci
2017-04-18 15:18:57 +03:00
Julien Pivotto
c2d1a37334
DigitalOcean: Export droplet prices ( #13720 )
...
Note: In DO, Droplets are about the only thing you pay. DNS/Float IP are
free.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2017-04-18 14:52:40 +03:00
Martin Atkins
b21bb7746a
Merge #11776 : Optionally allow vault_generic_secret resource to detect drift
2017-04-17 11:14:02 -07:00
Martin Atkins
d515c2efc4
Merge #12757 : local_file resource
2017-04-17 10:48:15 -07:00
Martin Atkins
4d79e0b99c
website: documentation tweaks for the local_file resource and its provider
2017-04-17 10:45:10 -07:00
Jake Champlin
ebc89e9426
Merge pull request #13701 from kavu/kavu-docs_hcl_addition
...
Massively add HCL source tag in docs Markdown files
2017-04-17 09:48:25 -04:00
gotyoooo
3da620944d
Add auto_minor_version_upgrade document ( #13706 )
2017-04-17 16:35:27 +03:00
Paul Stack
bb69e3730b
provider/aws: Documentation fixed for elasticsearch_domain ( #13704 )
...
Fixes : #13434
2017-04-17 16:26:08 +03:00
Max Riveiro
137fcfb5de
Massively add HCL source tag in docs Markdown files
...
Signed-off-by: Max Riveiro <kavu13@gmail.com>
2017-04-17 13:17:54 +03:00
Paul Tyng
b8b896e11b
Update go-newrelic vendor and use new field ( #13158 )
...
Fixes #12972
2017-04-17 01:59:11 +03:00
Kent Wang
8927ad5dce
provider/alicloud: Fix allocate public ip error ( #13267 ) ( #13268 )
...
Wait for instance to be in STOPPED or RUNNING state before invoking
AllocatePublicIP API.
* provider/alicloud: Wait for instance state before allocate public ip
* provider/alicloud: Fix test `TestAccAlicloudInstance_associatePublicIP`
* provider/alicloud: Update alicloud_instance document
Fixes : #13267
2017-04-17 01:52:39 +03:00