Commit Graph

244 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Mike Fowler
c866f8bf6c provider/google-cloud: Add maintenance window (#12042)
* provider/google-cloud: Add maintenance window

Allows specification of the `maintenance_window` within the `settings`
block. This controls when Google will restart a database in order to
apply updates. It is also possible to select an `update_track` to
relatively control updating between instances in the same project.

* Adjustments as suggested in code review.
2017-02-18 01:33:47 +02:00
Seth Vargo
2d4b3c2205 Merge pull request #12056 from pdecat/patch-3
Doc: fix 404 on API link
2017-02-17 13:34:36 -05:00
Sebastien Badia
051423ee28 doc: gcs - Update storage_class documentation and tests
`STANDARD` storage_class is now replaced by `MULTI_REGIONAL` depending
the bucket location. Same for `DURABLE_REDUCED_AVAILABILITY` replaced
by `REGIONAL`.

refs: https://cloud.google.com/storage/docs/storage-classes#standard
2017-02-17 15:59:25 +01:00
Radek Simko
566ad81b31 provider/google: Add google_compute_zones data source 2017-02-15 09:50:25 +00:00
Matthew Frahry
7b053a8e58 Update storage_bucket_acl.html.markdown 2017-02-03 09:26:39 -07:00
Matthew Frahry
c69a8988e7 Update storage_bucket_acl.html.markdown
Removing `default_acl` since Terraform doesn't manage it anymore
2017-02-03 09:09:03 -07:00
Dana Hoffman
2ffc1a9f1f Merge pull request #11590 from evandbrown/google-cloud-sql-pw
providers/google: No default root user for SQL
2017-02-01 15:43:23 -08:00
Dana Hoffman
696093659d Merge pull request #11020 from drebes/remote_traffic_selector
provider/google: remote_traffic_selector for google_compute_vpn_tunnel
2017-02-01 13:04:06 -08:00
Matthew Frahry
c15f8f0fc5 Merge pull request #11583 from hashicorp/UpdateMachineDoc
Update compute_instance.html.markdown
2017-02-01 09:32:24 -07:00
Mike Fowler
2806974991 provider/google-cloud: Add second generation disk specification options (#11571)
* Add second generation disk specification options.

* Adjust test check to match resource read behaviour.
2017-02-01 16:20:31 +00:00
Evan Brown
aca0825115 providers/google: No default root user for SQL
Cloud SQL Gen 2 instances come with a default 'root'@'%' user on
creation. This change automatically deletes that user after creation. A
Terraform user must use the google_sql_user to create a user with
appropriate host and password.
2017-01-31 22:21:11 -08:00
Matthew Frahry
a4900da465 Update compute_instance.html.markdown
Putting all required attributes next to each other for readability and separating deprecated attributes
2017-01-31 16:45:13 -07:00
Christoph Blecker
7c0f207b69 ip_address is an array and requires the instance number (#11389) 2017-01-29 16:36:57 +00:00
Roberto Jung Drebes
74d7af5506 provider/google: acceptance tests for traffic selectors 2017-01-28 00:55:17 +01:00