Commit Graph

1161 Commits

Author SHA1 Message Date
Vincent Roseberry
adaae73e8f Update CHANGELOG.md 2017-07-19 13:55:24 -07:00
Vincent Roseberry
d9abcd8a9f Support path-only when referencing ssl certificate in compute_target_https_proxy (#210) 2017-07-19 13:49:14 -07:00
Joe Selman
8f75c1c9a5 Fix bug where range variable is improperly dereferenced (#217)
* Fix bug where range variable is improperly dereferenced

* Add comment explaining why a value is copied
2017-07-19 13:19:27 -07:00
Dana Hoffman
6c27e076ce Update CHANGELOG.md 2017-07-18 11:35:59 -07:00
Vincent Roseberry
f4db3fd1aa Support import for google_compute_https_health_check (#213) 2017-07-18 11:35:24 -07:00
Joe Selman
236c0f5d24 Add support for google_compute_project_metadata_item (#176)
* Add support for google_compute_project_metadata_item

This allows terraform users to manage single key/value items within the
project metadata map, rather than the entire map itself.

* Update CHANGELOG.md

* Add details about import
2017-07-17 16:28:51 -07:00
Riley Karson
5628c678ac Update CHANGELOG.md 2017-07-17 08:37:43 -07:00
Stefan Schmidt
9e5aa27677 Add charset and collation to google_sql_database. (#183)
* Add charset and collation to google_sql_database.

* Add documentation for charset, collation attributes.

* Extend the existing acceptance test to also cover charset and collation.

* Charset and collation always have a value present. Also inline.

* Move charset and collation to optional arguments.

* Add charset and collection to the example.

* Document charset and collation defaults.

* Keep TestAccGoogleSqlDatabase_basic as is, add TestAccGoogleSqlDatabase_update.
2017-07-17 08:32:29 -07:00
Patrick Decat
a0ba61a5ce Add checks on actions and conditions lists lengths 2017-07-17 11:46:24 +02:00
Patrick Decat
c43b8b441e Action and condition blocks of a lifecycle_rule block are both required, use MinItems in schema to enforce 2017-07-17 11:46:24 +02:00
Patrick Decat
40fad4beb5 Implement limit on lifecycle_rules using MaxItems in schema 2017-07-17 11:46:24 +02:00
Patrick Decat
8bf132db0c Avoid shadowing lifecycle_rule variable, rename unconverted one to raw_lifecycle_rule 2017-07-17 11:46:24 +02:00
Patrick Decat
da1c67395d Fix acceptance tests 2017-07-17 11:46:24 +02:00
Patrick Decat
05d2567101 Clarify documentation regarding the required action and condition blocks, and that at least one condition element has to be defined 2017-07-17 11:46:24 +02:00
Patrick Decat
28219ef7d3 Simplify minimum condition elements assertion 2017-07-17 11:46:24 +02:00
Patrick Decat
ec145fe48f Print number of lifecycle rules passed if there are too many (> 100) 2017-07-17 11:46:24 +02:00
Patrick Decat
dfd3bde193 Remove useless update param 2017-07-17 11:46:24 +02:00
Patrick Decat
accb665914 Rename number_of_newer_versions as num_newer_versions 2017-07-17 11:46:24 +02:00
Patrick Decat
7676453758 Add documentation provider/google/google_storage_bucket lifecycle interface 2017-07-17 11:46:24 +02:00
Patrick Decat
7dc4c9d5e0 [WIP] Add provider/google/google_storage_bucket lifecycle interface 2017-07-17 11:46:24 +02:00
Radek Simko
922733066d
vendor: Remove github.com/fsouza/go-dockerclient 2017-07-17 08:09:51 +01:00
Radek Simko
f09f8886f7
vendor: Remove github.com/apparentlymart/go-rundeck-api 2017-07-17 08:06:49 +01:00
Dana Hoffman
a08c7c4fac Update CHANGELOG.md 2017-07-14 15:46:10 -07:00
Vincent Roseberry
af69c8cead Change description field to not be Computed (#199) 2017-07-14 15:45:06 -07:00
Dana Hoffman
41202bd464 Update CHANGELOG.md 2017-07-14 13:33:21 -07:00
Vincent Roseberry
a5281c6e7c Add import support for google_compute_image. (#194)
* Add import support for google_compute_image.

* Added comment explaning why we set the create_timeout in the import state method

* Don't ForceNew for create_timeout field

* Update image name in import documentation
2017-07-14 13:32:25 -07:00
Dana Hoffman
2367357869 Update compute instance docs/tests to use new boot and scratch disk attributes (#189)
* update compute instance docs to use new boot and scratch disk attributes, document attached_disk

* Update compute instance tests to mostly use new boot and scratch disk attributes

* Fix encryption test by setting values in state from what was there before
2017-07-14 10:57:23 -07:00
Dana Hoffman
097fc70f58 Update CHANGELOG.md 2017-07-13 10:28:59 -07:00
Vincent Roseberry
666351627d Read named ports changes properly in google_compute_instance_group (#188) 2017-07-13 10:24:25 -07:00
Dana Hoffman
349847400f Update CHANGELOG.md 2017-07-12 16:08:14 -07:00
Stefan Schmidt
e6e91ecbed Allow unlinking of billing account. (#138)
* Allow unlinking of billing account. Closes #133

* Add acceptance test for unlinking the billing account.

* Just apply the resource definition without the billing account instead of setting an empty billing account.
2017-07-12 16:05:14 -07:00
Riley Karson
23929e80f5 Update CHANGELOG.md 2017-07-11 16:55:15 -07:00
Joe Selman
95e72d513e Merge pull request #177 from terraform-providers/bigtable-support
Add support for Google Cloud Bigtable.
2017-07-11 16:26:51 -07:00
Riley Karson
e5c73829cb Removed useless log statement, changed client factory receivers from pointers to struct. 2017-07-11 16:13:46 -07:00
Joe Selman
e5d55df82b Merge pull request #172 from ubschmidt2/testacc_default
Allow for running acceptance tests using the default credentials.
2017-07-11 14:21:39 -07:00
Riley Karson
4cc6e9939a Add name validation function, standardise validation functions used (#164)
* Used standard validation functions where possible, added a GCP name validation function.

* Add tests for GCP name, factor out a ValidateRegexp function.

* make fmt
2017-07-07 12:48:29 -07:00
Dana Hoffman
5882f3145a Update CHANGELOG.md 2017-07-05 16:02:58 -07:00
Dana Hoffman
ae5ea9fd0f allow updating additional_zones, turn it into a set (#152) 2017-07-05 16:00:49 -07:00
Riley Karson
124555b8d7 Rearranged bigtable imports. 2017-07-05 12:54:38 -07:00
Riley Karson
fa148841aa Changed _ to - in sidebar_current for bigtable instance and table. 2017-07-05 12:50:41 -07:00
Riley Karson
c8c5f17143 Move data sources block in sidebar above resources blocks. 2017-07-05 11:29:54 -07:00
Riley Karson
fc24b321b9 Add bigtable sidebar entries. 2017-07-05 11:29:54 -07:00
Riley Karson
e5ff2b7bcd Updated google_bigtable_table tests. 2017-07-05 10:46:11 -07:00
Riley Karson
a358f4147f Clear BigtableTable schema when resource missing, pass along missing error. 2017-07-05 10:46:11 -07:00
Riley Karson
d0d116fa3e Add support for Bigtable table. 2017-07-05 10:46:11 -07:00
Stefan Schmidt
6e96e8473d Allow for running acceptance tests using the default credentials.
This change adds another option for supplying authentication credentials
to acceptance tests: If GOOGLE_USE_DEFAULT_CREDENTIALS is set, the default
credentials are used. When run from a compute engine instance, the compute
engine default credentials are used. When run from the user's workstation,
the user's credentials are used, if the user has authenticated with the
GCloud CLI beforehand.
2017-07-05 15:41:58 +02:00
Paddy
8a880fdcf8 Documentation updates.
Fix a sentence in the binding docs, and add docs for members.
2017-07-03 21:05:02 -07:00
Paddy
f9236abdf8 Add the google_project_iam_member resource.
Adds the google_project_iam_member resource, which just ensures that a
single member has a single role.

google_project_iam_member should not be used to grant permissions to a
role controlled by google_project_iam_binding or to a policy controlled
by google_project_iam_policy, as they'll fight for control.
2017-07-03 20:59:26 -07:00
Paddy
a84b22dda2 Fix vet errors.
Add the missing parameter to Errorf statements.
2017-07-03 20:53:32 -07:00
Paddy
65a4a36362 Remove ID when binding isn't found.
It shouldn't be an error, we should just remove that binding from state.
2017-07-03 20:50:25 -07:00