Commit Graph

4642 Commits

Author SHA1 Message Date
Joshua Spence 38d4d2f9d4 Add a logarithm function
Fixes #9498. Adds a `log` function for calculating logarithms.
2017-05-05 17:06:53 +10:00
Paul Thrasher 26a91abd0c website: Add code coloring to aws_security_group doc 2017-05-04 17:07:57 -07:00
Paul Stack 3bb4c56165 provider/aws: Prevent Crash when importing aws_route53_record (#14218)
Fixes: #14217

We now check to make sure that we have the correct number of parts when
we have split the resource ID. It isn't an elegant fix but it works as
expected. Also added some more documentation about what is required to
actually construct the Id needed for import
2017-05-04 21:51:10 +03:00
Paul Stack 046bb0e1c3 provider/aws: Support run_command_parameters in aws_cloudwatch_event_target (#14067)
```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSCloudWatchEventTarget_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/29 11:00:09 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSCloudWatchEventTarget_ -timeout 120m
=== RUN   TestAccAWSCloudWatchEventTarget_basic
--- PASS: TestAccAWSCloudWatchEventTarget_basic (58.75s)
=== RUN   TestAccAWSCloudWatchEventTarget_missingTargetId
--- PASS: TestAccAWSCloudWatchEventTarget_missingTargetId (36.11s)
=== RUN   TestAccAWSCloudWatchEventTarget_full
--- PASS: TestAccAWSCloudWatchEventTarget_full (90.30s)
=== RUN   TestAccAWSCloudWatchEventTarget_ssmDocument
--- PASS: TestAccAWSCloudWatchEventTarget_ssmDocument (38.64s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/aws	223.833s
```
2017-05-04 20:46:11 +03:00
Paul Stack e18f8df845 provider/aws: Add support for aws_ssm_maintenance_window (#14087)
* provider/aws: Add support for aws_ssm_maintenance_window

Fixes: #14027

```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSSSMMaintenanceWindow_basic'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/29 13:38:19 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSSSMMaintenanceWindow_basic -timeout 120m
=== RUN   TestAccAWSSSMMaintenanceWindow_basic
--- PASS: TestAccAWSSSMMaintenanceWindow_basic (51.69s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/aws	51.711s
```

* provider/aws: Add documentation for aws_ssm_maintenance_window

* provider/aws: Add support for aws_ssm_maintenance_window_target

```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSSSMMaintenanceWindowTarget'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/29 16:38:22 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSSSMMaintenanceWindowTarget -timeout 120m
=== RUN   TestAccAWSSSMMaintenanceWindowTarget_basic
--- PASS: TestAccAWSSSMMaintenanceWindowTarget_basic (34.68s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/aws	34.701s
```

* provider/aws: Adding the documentation for aws_ssm_maintenance_window_target

* provider/aws: Add support for aws_ssm_maintenance_window_task

* provider/aws: Documentation for aws_ssm_maintenance_window_task
2017-05-04 20:36:28 +03:00
stack72 93b838fb14
Merge branch 'feature/gitlab_project_hook' of https://github.com/richardc/terraform into richardc-feature/gitlab_project_hook 2017-05-04 19:56:10 +03:00
liz abinante f3057029d5 website: clarify 👓 env variable hierarchy 2017-05-04 09:51:00 -07:00
Masayuki Morita 410fdad2cb provider/aws: Add support description to aws_iam_role
Fixes #14198
2017-05-04 23:11:20 +09:00
Phil Clay 03c7cfb799 Fix docs for openstack lbaas v2 resource types. (#14196)
The documentation title/sidbar incorrectly referred to resource types `openstack_lbass_*` when the actual names are `openstack_lb_*`.
2017-05-04 09:19:09 +01:00
Payam Hekmat 3556004501 Add dockercfg example to Kubernetes secret (#14151) 2017-05-04 09:14:23 +01:00
Matthew Frahry bcf1514422 Merge pull request #14090 from hashicorp/p-aws-config-config-source-detail
provider/aws Added default to event source
2017-05-03 18:36:02 -06:00
Paul Thrasher 9ad1425cf8 Merge pull request #14192 from hashicorp/thrashr888/aws_db_option_group-name-lowercase
provider/aws: aws_db_option_group normalizes name to lowercase
2017-05-03 17:00:16 -07:00
Paul Thrasher ccae9372e5 provider/aws: aws_db_option_group normalizes name to lowercase
This is a fix for PR #11040. The code here lowercases the name and/or prefix before sending it to the AWS API and the terraform state. This means the state will match the actual resource name and be able to converge the diff.
2017-05-03 16:50:40 -07:00
Paddy 7a73c21c11 Merge pull request #13824 from JDiPierro/import_google_dns_managed_zone
Importability for Google DNS Managed Zone
2017-05-03 15:54:43 -07:00
Paddy dc63d8c42b Merge pull request #12482 from tpoindessous/gcp_compute_disk_snapshot
provider/google : add a new resource : google_compute_snapshot
2017-05-03 15:47:07 -07:00
Paddy c043f1185c Merge pull request #14163 from hashicorp/paddy_14152_sfr_tenancy
provider/aws: support tenancy for spot fleets
2017-05-03 13:53:45 -07:00
Paddy 5341d575ba Add example of placement to sfr docs.
Add an example usage of the placement_tenancy field to spot fleet
request docs.
2017-05-03 13:43:58 -07:00
liz abinante 868530b967 website: add personal org variable docs for TFE 2017-05-03 13:09:49 -07:00
liz abinante ca49b098f5 website: new docs for personal environment variables in TFE 2017-05-03 09:37:57 -07:00
Richard Clamp dcbe8a4736 provider/gitlab: add gitlab_project_hook resource
Here we add a new resource type `gitlab_project_hook`.  It allows for
management of custom hooks for a gitlab project.

This is a relatively simple resource as a project hook is a simple
association between a project, and a url to hit when one of the flagged
events occurs on that project.

Hooks (called Webhooks in some user documentation, but simply Hooks
in the api documentation) are covered here for users
https://docs.gitlab.com/ce/user/project/integrations/webhooks.html and
in the API documentation at
https://docs.gitlab.com/ce/api/projects.html#hooks
2017-05-03 11:51:53 +01:00
Tom Harvey 3383222667 Merge pull request #13670 from StephenWeatherford/dev/stephweatherford/9694
[MS] Fix crash #7353, and support bool and int outputs
2017-05-03 08:06:31 +01:00
Tom Harvey 5a2aecd1e1 Merge pull request #14099 from dominik-lekse/public-feature/azurerm-sql-elasticpool
provider/azurerm: Add resource azurerm_sql_elasticpool
2017-05-03 06:29:24 +01:00
Tom Harvey 01ad95c3c2 Fixing a typo `creation_data` -> `creation_date` 2017-05-03 06:04:09 +01:00
Martins Sipenko c7fb9808ef config: sha512 hash functions (#14100) 2017-05-02 16:35:23 -07:00
Chris Broglie 23f4e9fe08 website: Add missing aws_ prefix to aws_kinesis_stream data source 2017-05-02 16:33:13 -07:00
liz abinante 0d10d89ea6 update website readme to note 🐳 docker requirement 2017-05-02 15:03:11 -07:00
Christoph Tavan 266865d75a
provider/google: Fix config key in compute_url_map docs 2017-05-02 23:18:42 +02:00
Christoph Tavan 7ecc515704
provider/google: Document backend buckets for compute_url_map
The current google_compute_url_map resource already supports backend
buckets out of the box: Just pass the self_link of the backend buckets
as you would pass the self_link of a backend service.

This adds some example code as well.
2017-05-02 23:18:41 +02:00
Christoph Tavan c853d91203
provider/google: Remove unsupported region from compute_url_map docs
When trying to run the example code with the most recent terraform
master you get the following errors:

```
2 error(s) occurred:

* google_compute_backend_service.home: "region": [REMOVED] region has been removed as it was never used
* google_compute_backend_service.login: "region": [REMOVED] region has been removed as it was never used
```

Hence remove it from the documentation.
2017-05-02 23:18:40 +02:00
Christoph Tavan 9b9144ba95
provider/google: Add support for backend buckets
Adds a new resource google_compute_backend_bucket according to
https://cloud.google.com/compute/docs/reference/latest/backendBuckets

Fixes hashicorp/terraform#12505
2017-05-02 23:18:40 +02:00
Martin Atkins ac1127060d website: suggest Stack Exchange sites as a place to ask questions
There's a pre-existing Terraform presence on both Server Fault and
Stack Overflow that seem to be generating good questions and answers, so
here we'll try to send users to the right sites to ask questions and
encourage them to be good participants in those communities.
2017-05-02 09:33:22 -07:00
Adam Wright a401aee923 Make `wait_for_ready_timeout` default match code (#14149)
The `wait_for_ready_timeout` timeout was listed as 10m, but
cd79471ecb altered reality to be 20m. The
documentation should match the code.
2017-05-02 16:01:03 +01:00
Tom Elliff 551eedcf26 Document the data source interpolation usage (#14144)
* Document the data source interpolation usage

Also briefly mentions how to use counts and splat syntax as with resources to further document the usage of counts for data sources (see https://github.com/hashicorp/terraform/pull/14143).

* Output -> Attribute

As per feedback.
2017-05-02 15:17:24 +01:00
Tom Elliff 64cd64d061 Document that data sources support meta parameters such as count (#14143)
Also fix the bad interpolation in the subnet_ids example.
2017-05-02 15:05:50 +01:00
Tom Harvey c3b89954b9 Merge pull request #14123 from zaharcan/patch-1
Update graph.html.markdown
2017-05-02 07:10:03 +01:00
Tom Harvey cca472ae03 Merge pull request #14125 from zaharcan/patch-2
Update rule_set.html.markdown
2017-05-02 07:08:46 +01:00
Justin DiPierro d80885f746 Importability for Google DNS Managed Zone 2017-05-01 20:28:28 -04:00
Clint a8e4a9bf07 provider/aws: Update `aws_emr_cluster` to support Security Configuration (#14133)
* added emr security configurations

* gofmt after rebase

* provider/aws: Update EMR Cluster to support Security Configuration

* update test to create key

* update docs
2017-05-01 17:02:59 -05:00
Jake Champlin 3a01d5f5e1 Merge pull request #14104 from rlweb/feature/aws_dynamodb_table-add-timetolive
provider/aws: aws_dynamodb_table Add support for TimeToLive
2017-05-01 15:37:34 -04:00
Jake Champlin a459bac06a Merge pull request #14121 from iamjarvo/patch-2
Add import example
2017-05-01 15:27:48 -04:00
Ryon acaffd9dbb Update news section with April 4 webinar video (#14109) 2017-05-01 14:07:48 -05:00
zaharcan cd8cafb4f4 Update rule_set.html.markdown 2017-05-01 14:42:40 -04:00
zaharcan 18585f3ec0 Update graph.html.markdown 2017-05-01 14:40:23 -04:00
Jearvon Dharrie 2229d65043 Add import example 2017-05-01 14:01:21 -04:00
Jake Champlin 05654b02a2 Merge pull request #14078 from justincampbell/heroku-pipelines
provider/heroku: Add resources for Heroku Pipelines
2017-05-01 10:52:54 -04:00
Radek Simko 143c8bbdfe docs/aws: Add undocumented fields to all WAF resources (#14091)
* docs/aws: Add undocumented fields to all WAF resources

* docs/aws: Alphabetically sort WAF resources
2017-05-01 15:23:30 +01:00
Jake Champlin 4939e24ca0 Merge pull request #14103 from travertischio/fastly-optional-conditions
provider/fastly Changes setting conditionals to optional
2017-05-01 10:21:35 -04:00
Justin Campbell ccb1b7ebec website: Add docs for Heroku Pipeline resources 2017-05-01 10:15:08 -04:00
Jake Champlin 86903a951f Merge pull request #14092 from gazoakley/iam-database-authentication
provider/aws: Add support for IAMDatabaseAuthenticationEnabled
2017-05-01 10:06:59 -04:00
clint shryock df777566f9 provider/aws: Update s3 bucket docs to fix typo 2017-05-01 08:39:37 -05:00
Jake Champlin 9be6aa200a Merge pull request #14084 from hashicorp/paddy_goog_app_creds
Document GOOGLE_APPLICATION_CREDENTIALS support.
2017-05-01 09:32:43 -04:00
Rhys Laval 27d3d2a871 provider/aws: aws_dynamodb_table Add support for TimeToLive 2017-04-30 23:20:38 +01:00
travertischio 041d5a369e Makes cache setting condition optional in fastly service 2017-04-30 17:16:06 -03:00
travertischio 3489795396 Makes request condition optional for fastly request settings 2017-04-30 17:15:51 -03:00
Dominik Lekse 720ae3dea0 Added resource azurerm_sql_elasticpool 2017-04-30 11:48:33 +02:00
= 909d06a72a Updated docs 2017-04-29 21:34:03 -06:00
Chris Kent 21f4848006 provider/aws: add additional custom endpoints
* Add option for custom CloudFormation, KMS, RDS, SNS, SQS endpoints
* Minor formatting to arrange internal endpoint variables alphabetically
* Minor refactoring for consistent internal endpoint variable naming
* Update CHANGELOG
* Update docs accordingly
2017-04-29 22:49:43 -04:00
Gareth Oakley e4c732b34c Add support for IAMDatabaseAuthenticationEnabled 2017-04-29 20:32:21 +01:00
stack72 be002d9345
provider/aws: Add documentation for the EFS File System DataSource 2017-04-29 11:38:10 +12:00
Paddy 9dffeddbb7 Document GOOGLE_APPLICATION_CREDENTIALS support.
We've supported GOOGLE_APPLICATION_CREDENTIALS as an environment
variable (it comes free with our OAuth2 client) but it has never been
documented. Documenting it now to resolve #12626.
2017-04-28 16:16:38 -07:00
Clint 7c59f7e282 provider/aws: Add EMR Security Configuration Resource (#14080)
* provider/aws: Add EMR Security Configuration

* provider/aws: Document EMR security configuration

* small refactoring and add an import test
2017-04-28 16:28:49 -05:00
Jake Champlin ba52f8045f Merge pull request #14077 from hashicorp/triton-allow-insecure
provider/triton: Add `insecure_skip_tls_verify`
2017-04-28 16:26:43 -04:00
James Nugent eaed36b47e provider/triton: Add `insecure_skip_tls_verify`
This commit adds an option to skip TLS verification of the Triton
endpoint, which can be useful for private or temporary installations not
using a certificate signed by a trusted root CA.

Fixes #13722.
2017-04-28 11:56:26 -07:00
Maciej Skierkowski 5c4d85d7dc Merge pull request #14022 from hashicorp/skierkowski/tfe-state-docs-0-9-update
Updating TFE state documentation for 0.9.X
2017-04-28 11:46:00 -07:00
James Nugent 04436e4cbd provider/triton: Clarify cloud_config docs 2017-04-28 11:01:50 -07:00
Maciej Skierkowski b142c04db2 removing whitespace 2017-04-28 10:54:37 -07:00
Maciej Skierkowski 8cee4eb12b Adding a deprecation warning on 'terraform remote config' command 2017-04-28 10:52:59 -07:00
Brian Cervenka 93a0bad923 provider/triton: Add metadata key for cloud-init
Under joyent/triton, the cloud-init cloud-config data actually comes out
of a key called cloud-init:user-data, as opposed to to the standard
user-data. This will make it possible to send the cloud-config data to
triton machines.

Documentation reference: https://docs.joyent.com/public-cloud/instances/virtual-machines/images/linux/ubuntu-certified#cloud-init-examples
2017-04-28 10:52:54 -07:00
David Tesar 9d4a23d9a8 fix example templates
With the FQDN specified, it throws error:
 ```
1 error(s) occurred:
* azurerm_container_service.test: "agent_pool_profile.0.fqdn": this field cannot be set
```
2017-04-27 12:53:39 -07:00
clint shryock d6560b96d7 provider/heroku: Update docs to include heroku-app-feature 2017-04-27 09:59:54 -05:00
Dan Peterson e495c6bacc providers/heroku: add heroku_app_feature resource (#14035) 2017-04-27 09:55:07 -05:00
Jake Champlin e91d915154 Merge pull request #13956 from weargoggles/patch-1
provider/nomad: Add TLS options
2017-04-27 10:43:50 -04:00
Radek Simko 42c7d00568 docs/digitalocean: Add image data source to sidebar (#14030) 2017-04-27 11:55:25 +01:00
Dominik-K 238beaea33 Docs: `dir` flag in `get` cmd -> root module def. in `modules/index.html` (#13940) 2017-04-27 11:27:16 +01:00
Tom Harvey a23201a415 Merge pull request #13965 from codekoala/azurerm_lb_private_ip_address
provider/azurerm: Expose any dynamically-assigned private IP address
2017-04-27 11:19:43 +01:00
Paddy 89fba0c34e Make global forwarding rule docs clearer for IP addresses.
Update our docs for `google_compute_forwarding_rule` to clarify that the
`ip_address` field expects a literal IP address and will not accept the
`self_link` property of a `google_compute_address` resource.

Prompted by #13375
2017-04-26 15:52:49 -07:00
Maciej Skierkowski 94ed759663 Updating guide to reference runs and applies instead of remote state push 2017-04-26 15:51:25 -07:00
Maciej Skierkowski 9e791ad357 Update steps per new state management commands 2017-04-26 15:50:15 -07:00
Maciej Skierkowski 05a76297e7 Removing reference to remote state pushing in TFE 2017-04-26 15:49:36 -07:00
Matthew Frahry aed450c4b0 Update OPC to Oracle Public Cloud 2017-04-26 14:46:54 -06:00
stack72 fd48f91876
provider/gitlab: Addition of the documentation link for gitlab to sidebar
```
% make testacc TEST=./builtin/providers/gitlab
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/27 05:37:02 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/gitlab -v  -timeout 120m
=== RUN   TestProvider
--- PASS: TestProvider (0.00s)
=== RUN   TestProvider_impl
--- PASS: TestProvider_impl (0.00s)
=== RUN   TestAccGitlabProject_basic
--- PASS: TestAccGitlabProject_basic (41.11s)
=== RUN   TestGitlab_validation
--- PASS: TestGitlab_validation (0.00s)
=== RUN   TestGitlab_visbilityHelpers
--- PASS: TestGitlab_visbilityHelpers (0.00s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/gitlab	41.125s
```
2017-04-27 05:44:05 +12:00
stack72 898ac02854
Merge branch 'feature/gitlab_provider' of https://github.com/richardc/terraform into richardc-feature/gitlab_provider 2017-04-27 05:08:12 +12:00
Paul Stack 011cab5917 provider/aws: Add support for CustomOrigin timeouts to aws_cloudfront_distribution (#13367)
```

```
2017-04-27 02:13:59 +12:00
Edward Betts be265479a9 correct spelling mistakes (#13979) 2017-04-27 02:10:04 +12:00
James Healy ae7df37e6f Make dnsimple_records importable (#9130)
* Make dnsimple_records importable

terraform 0.7 supports importing a resource into the local state, and
this adds that feature to the dnsimple_record resource.

Unfortunately, the DNSimple v1 API requires a domain name and record ID
to fetch a record, so the import command accepts both pieces of data as
a slash-delimted string like so:

    terraform import dnsimple_record.test example.com/1234

* add an acceptance test for importing a dnsimple_record
2017-04-27 02:07:23 +12:00
stack72 fdf55c7c68
provider/oneandone: removing the types from the docs as they were markdown links that didn't go anywahere 2017-04-27 01:47:53 +12:00
stack72 7448e832b3
provider/alicloud: Migrating documentation from sidebar regex to strings 2017-04-27 01:03:20 +12:00
tombuildsstuff 277bbf65d1
v0.9.4 2017-04-26 12:35:28 +00:00
Jake Champlin 64134418a5 Merge pull request #12933 from hashicorp/f-network-interfaces
provider/aws: Add network_interface to aws_instance
2017-04-26 08:05:21 -04:00
Andrew King 686d10af4a Update cloudwatch_event_target.html.markdown (#13964)
Clean up `Note` section.
2017-04-26 07:39:14 +01:00
Josh VanderLinden d3687fc9e9 Expose any dynamically-assigned private IP address 2017-04-26 05:22:01 +00:00
Kazunori Kojima dea267218c
docs: Fix parameter name of aws_listener_rule 2017-04-26 09:07:12 +09:00
Joseph Anthony Pasquale Holsten 87ebc19ae5 Merge pull request #13785 from bhood4/master
provider/ultradns: ultradns_rdpool resource minor improvements
2017-04-25 15:59:04 -07:00
Jake Champlin 1e9593fa61 Merge pull request #13952 from danawillow/is-13823
provider/google: documentation and validation fixes for forwarding rules
2017-04-25 18:51:14 -04:00
Jake Champlin 22ed31c7a6 Merge pull request #13921 from bernerdschaefer/bs-create-space
providers/heroku: add heroku_space resource
2017-04-25 18:43:42 -04:00
Bernerd Schaefer 26d6a562f1 Use // for inline comments 2017-04-25 15:27:01 -07:00
Pete Wildsmith b1c03e93df Document TLS options in Nomad provider 2017-04-25 23:17:32 +01:00
Jake Champlin 8ac89c7860
provider/aws: Improve documentation for the cloudformation_stack resource.
Fixes: #8483
2017-04-25 18:15:28 -04:00
Paul Stack f4015b43c5 provider/aws: Support aws_instance and volume tagging on creation (#13945)
Fixes: #13173

We now tag at instance creation and introduced `volume_tags` that can be
set so that all devices created on instance creation will receive those
tags

```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSInstance_volumeTags'                      2 ↵ ✚ ✭
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/26 06:30:48 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSInstance_volumeTags -timeout 120m
=== RUN   TestAccAWSInstance_volumeTags
--- PASS: TestAccAWSInstance_volumeTags (214.31s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/aws	214.332s
```
2017-04-26 10:12:38 +12:00
Joshua Spence d721ff6d66 provider/aws: Sort AMI and snapshot IDs (#13866)
As a follow up to #13844, this pull request sorts the AMIs and snapshots returned from the aws_ami_ids and aws_ebs_snapshot_ids data sources, respectively.
2017-04-25 15:11:21 -07:00