Commit Graph

258 Commits

Author SHA1 Message Date
Paddy
95ae7b0173 Merge branch 'master' into cloud_router 2017-05-03 16:00:13 -07:00
Paddy
b5cbbee272 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
Roberto Jung Drebes
4d2e3151cc wip: review changes:
- config.clientCompute.Routers
- peer fields renamed
- more consistent logging
- better handling of SetId for error handling
- function for router locks
- test configs as functions
- simplify exists logic
- use getProject, getRegion logic on acceptance tests
- CheckDestroy for peers an interfaces
- dynamic router name for tunnel test
- extra fields for BgpPeer
- resource documentation
2017-05-03 21:22:33 +02:00
Christoph Tavan
73879f49a2 provider/google: Fix config key in compute_url_map docs 2017-05-02 23:18:42 +02:00
Christoph Tavan
4080b4652f 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
52be95629c 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
5cd3dd2c6b 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
Paddy
73b4a8690c 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
Paddy
0f67ae3fdc 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
Jake Champlin
7e12fa020e 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
Dana Hoffman
be1e94160b provider/google: documentation and validation fixes for forwarding rules 2017-04-25 13:03:36 -07:00
stack72
2d808c33e9 provider/google: Documenting the import process for compute_network 2017-04-21 12:51:24 +03:00
Alexander
bce01a0fa0 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
Thomas Poindessous
11ccbc7b9e merge upstream/master 2017-04-20 12:37:18 +02:00
Thomas Poindessous
bb1ee8c1a0 Added a new attribute : source_disk_link 2017-04-20 12:12:43 +02:00
Max Riveiro
f31cca6ba3 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
okumin
5bb86786c8 Fix billing_acount into billing_account in google_project.html.markdown (#13689) 2017-04-16 19:53:19 +03:00
Mathieu Herbert
2e6c5779d4 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
Dana Hoffman
874119a868 provider/google: Add node_pool field in resource_container_cluster. (#13402) 2017-04-12 12:57:53 -07:00
Seth Vargo
ad0249eb46 Replace // with # 2017-04-06 14:09:10 -04:00
joelcollin
5d6e07ffc8 Fixed typo in subscription (was subscripion) (#13172) 2017-03-29 20:06:26 +01:00
Radek Simko
16fc6099bb Add links to details about sensitive data in state (#13145) 2017-03-29 10:37:36 +01:00
Dana Hoffman
4cc10ffb55 Fix broken link 2017-03-27 13:28:26 -07:00
Neil Calabroso
0a56308c99 Update compute_network.html.markdown (#13077)
Include `name` in the exported attributes of `google_compute_network`'s documentation
2017-03-27 18:47:06 +03:00
Thomas Poindessous
570e257260 Review by @paddyforan: corrected documentation. Replaced disk by source_disk. Deleted sourcedisk_id 2017-03-27 10:36:39 +02:00
Dana Hoffman
cd031b7307 Merge pull request #12281 from mrooding/add-local-ssd-count-support
provider/google: add local ssd count support for container clusters
2017-03-22 13:06:16 -07:00
Thomas Poindessous
79bc3702ce Merge remote-tracking branch 'upstream/master' into gcp_compute_disk_snapshot 2017-03-22 16:38:40 +01:00
Thomas Poindessous
6d632fb3ec Review by @paddyforan: Missing description in documentation 2017-03-22 15:42:05 +01:00
Wax On
728c6ae7a9 correct attribute from "project_id" to "project" (#12902) 2017-03-22 14:37:11 +00:00
Marc Rooding
b9ca2c3dce Update documentation to include "local_ssd_count" property 2017-03-22 09:39:38 +01:00
Dana Hoffman
9f71ab507f Merge pull request #12743 from danawillow/gke-nodeconfig
provider/google: add support for a few more fields in NodeConfig
2017-03-21 15:24:14 -07:00
Dana Hoffman
2788eb2842 Add documentation for GKE node pools (#12896) 2017-03-21 15:20:38 -07:00
Dana Hoffman
019c28633c provider/google: Document new NodeConfig fields. 2017-03-20 16:40:18 -07:00
Thomas Poindessous
5f291228c3 Change version of Debian image
Hi

this version was not found anymore.

Thanks.
2017-03-17 17:10:03 +01:00
Paddy
d3f04b7a64 Merge pull request #12668 from hashicorp/paddy_deprecate_google_credentials_file
provider/google: remove deprecated account_file field.
2017-03-14 13:23:59 -07:00
Paddy
24e68d46f7 Remove the account_file docs.
We no longer support it, so no point in continuing to document it.
2017-03-14 00:00:44 -07:00
Paddy
0f59a658ae Merge pull request #12223 from hashicorp/paddy_10984_better_image_resolution
provider/google: upgrade our image resolution logic
2017-03-13 23:45:12 -07:00
Paddy
7c8681ddd5 Make all image string templates code formatted.
Update our docs to code format all the image template strings that a
disk can use.
2017-03-13 23:39:07 -07:00
Paddy
a0e6311936 Update the documentation.
Document the acceptable inputs everywhere that uses the function.
2017-03-13 22:15:37 -07:00
Paddy
a0d9dcd8a2 Merge pull request #12228 from hashicorp/paddy_update_gcp_project_docs
provider/google: add migration notes for projects
2017-03-13 16:18:05 -07:00
Patrick Decat
f4a3e9e78c Doc: google_compute_health_check resource has no type attribute (#12646)
The `google_compute_health_check` resource has no `type` attribute.

cf. https://www.terraform.io/docs/providers/google/r/compute_health_check.html
2017-03-13 19:53:25 +02:00
Thomas Poindessous
d7454b8177 Documentation for the new resource : google_compute_snapshot 2017-03-13 14:13:38 +01:00
Patrick Decat
074f33c93f Doc: Google Global Forwarding have their own documentation (#12528) 2017-03-08 20:17:18 +02:00
Paddy
d1e103b4d2 provider/google: add migration notes for projects
Update the docs for `google_project` with @zachgersh's suggestions
(#11895) to properly communicate the changes that took place in 0.8.5.
While they don't break any current configs or state, the new behaviour
should be called out for people who were using the old behaviour and are
adding new projects to their configs/state.

I also took this opportunity to update google_project_iam_policy with a
note to users letting them know that there be dragons.
2017-02-24 00:56:05 -08:00
Evan Brown
c7632cdf2e providers/google: google_project supports billing account (#11653)
* Vendor google.golang.org/api/cloudbilling/v1

* providers/google: Add cloudbilling client

* providers/google: google_project supports billing account

This change allows a Terraform user to set and update the billing
account associated with their project.

* providers/google: Testing project billing account

This change adds optional acceptance tests for project billing accounts.
GOOGLE_PROJECT_BILLING_ACCOUNT and GOOGLE_PROJECT_BILLING_ACCOUNT_2
must be set in the environment for the tests to run; otherwise, they
will be skipped.

Also includes a few code cleanups per review.

* providers/google: Improve project billing error message
2017-02-20 19:32:24 +02:00
George Christou
06fa75423e website/docs: Run terraform fmt on code examples (#12075)
* docs/vsphere: Fix code block

* docs: Convert `...` to `# ...` to allow `terraform fmt`ing

* docs: Trim trailing whitespace

* docs: First-pass run of `terraform fmt` on code examples
2017-02-19 00:48:50 +02:00
Patrick Decat
fc78bd934d Update google_sql_user example as password is a required argument (#12053) 2017-02-18 16:16:14 +02:00
Paddy
24393a64ea Merge pull request #12044 from sbadia/gcs_storage_class
doc: gcs - Update storage_class documentation and tests
2017-02-17 16:13:29 -08:00
Patrick Decat
d9c31525dc google_sql_database_instance: pricing_plan only applies to first generation instances (#12054)
As stated in the second generation pricing documentation:

> Second Generation pricing is composed of the following charges:
> 
> Instance pricing
> Storage pricing
> Network pricing
> There is no choice of pricing plan.

cf. https://cloud.google.com/sql/pricing#2nd-gen-pricing
2017-02-18 01:38:38 +02:00
Patrick Decat
11c56cfd5e google_sql_database_instance name cannot be reused for one week, not two months (#12055)
According to the referenced documentation, it is one week, not two months:

> You cannot reuse an instance name for up to a week after you have deleted an instance.

cf. https://cloud.google.com/sql/docs/mysql/delete-instance
2017-02-18 01:37:58 +02:00