Commit Graph

885 Commits

Author SHA1 Message Date
Christoph Blecker
60dc8bccad Add google_project_services data source (#1822) 2018-08-15 15:45:54 -07:00
The Magician
3db96c9073 Make flatteners of sets return sets (#1880)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-08-15 13:46:55 -07:00
Alexey Medvedchikov
3fc71ee432 Don't recreate google_container_cluster on master_auth change (#1873)
* Update google_container_cluster master_auth username and password without recreation of cluster, using setMasterAuth method

* Add tests to update and disable master_auth password and username values
2018-08-15 12:50:17 -07:00
Harry Pidcock
8fbbee00b9 Fix cloud function sourceArchiveUrl incorrect interpretation. (#1844) 2018-08-14 17:09:32 -07:00
Megumi Tomita
004c010b33 Add supported locations of cloudfunction (#1863)
Cloudfunction facility is now supported in 4 locations.
This pull-request updates the list to catch up with it.
2018-08-14 17:07:43 -07:00
Walker
c810e4b408 provider: Ensures schema.TypeMap elements are schema.Schema (#1835) 2018-08-14 16:53:39 -07:00
Nathan McKinley
841926e07b
Fix project iam policy import to work even without provider project. (#1875) 2018-08-14 14:17:01 -07:00
Michael Haro
2c4afd3aec Allow other forms of project names to be matched. (#1865) 2018-08-14 11:48:08 -07:00
Nathan McKinley
4408183c9f
Suppress diff for ubuntu-minimal-lts as well as ubuntu-lts. (#1870) 2018-08-14 11:24:37 -07:00
Landon Spear
f604f3eac2 Add us-west2 to app engine locations (#1867) 2018-08-13 14:23:10 -07:00
Chris Stephens
a0e0afc537
Merge pull request #1848 from chrisst/link-helper-comments
Clarifying helper method usage
2018-08-13 11:22:17 -07:00
The Magician
41d92fda3e Remove request helper methods. (#1856)
Since we added custom verbs for a lot of resources, we should just use sendRequest directly.
2018-08-08 15:29:10 -07:00
Nathan McKinley
d01c0cd60e
Fixes related to autogenerating the VPN Tunnel resource (#1850) 2018-08-07 17:55:45 -07:00
Dana Hoffman
00e5bd5363
allow updating node image types (#1843)
Fixes #1702.

@chrisst I'm putting you as a reviewer, but no rush. Feel free to ask as many questions as you have! Also feel free to offer suggestions 😃 (or just say it's perfect as-is, that works too)
2018-08-07 14:07:28 -07:00
Chris Stephens
d94100dee4 Clarifying helper method usage
Changing comments and method signature
2018-08-07 11:32:35 -07:00
Dana Hoffman
c5388d27c4
add hash function for self link name (#1836) 2018-08-03 16:23:21 -07:00
The Magician
a6e1ecad7a Make redis alternativeLocationId computed (#1754) 2018-07-26 17:35:18 -07:00
Dan Isla
bb6c757ad1 Container cluster delete timeout to 30 min. (#1745)
Matches Create operation timeout. Should reduce timeouts when deleting regional clusters.
2018-07-26 10:22:39 -07:00
Nathan McKinley
aaf18dacca
CloudBuild Trigger substitutions (#1810) 2018-07-25 13:38:35 -07:00
The Magician
0fdc262183 Add LabelFingerprint and Label to Address and GlobalAddress. (#1811) 2018-07-25 13:25:16 -07:00
oceyral
7da529f3c1 Implement multiple versions for regional instance groups (#1809) 2018-07-25 13:21:20 -07:00
Dana Hoffman
b8cf81e527
use customizediff to allow all role-entity pairs to be unordered (#1787) 2018-07-24 15:36:30 -07:00
Dana Hoffman
b4bb79f58e
lock on master name when creating replicas (#1798) 2018-07-24 15:32:18 -07:00
Dana Hoffman
080f6fe2e1
don't call full read when updating billing acct (#1795) 2018-07-19 13:32:29 -07:00
The Magician
cacdaec642 handle nil resourceref links in generated code (#1794)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-07-19 12:26:40 -07:00
Dana Hoffman
7c47e13aa6
Changes to things that got merged too early (#1790) 2018-07-18 15:47:23 -07:00
Luke Hoban
cf4e731236 Add support for updating function code in place (#1781)
Remove ForceNew from the source inputs on function resources, and add support for updating the function in place from a new source bucket+object.
2018-07-18 14:48:00 -07:00
The Magician
c0610c5544 Add google_compute_region_disk resource. (#1755)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-07-18 14:24:21 -07:00
The Magician
0e29432a32 use compareSelfLinkOrResourceName diffsuppress on redis authorizednetwork. Fixes #1750. (#1782)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-07-18 13:34:47 -07:00
The Magician
aa20a0efe7 Support unordered list on subnetwork secondary IP range. (#1772) 2018-07-17 15:18:18 -07:00
Paddy
1fea758265
Merge pull request #1779 from danawillow/is-1775
allow setting instance scheduling booleans to false
2018-07-17 00:07:14 -07:00
Dana Hoffman
335ccae604 force send a bunch more fields in firewall 2018-07-16 18:46:05 -07:00
The Magician
1f9de6ad13 use patch instead of put to update router. Fixes #1778. (#1780)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-07-16 14:56:03 -07:00
Dana Hoffman
547245bada allow setting instance scheduling booleans to false 2018-07-16 13:54:47 -07:00
Paddy
8753eb0268
Merge pull request #1769 from terraform-providers/paddy_1767
Fix crash when updating container cluster resource labels.
2018-07-13 14:21:05 -07:00
Paddy Carver
c404cd740b Use map helper. 2018-07-13 14:14:00 -07:00
The Magician
ba2ea638ee Turn off logs on compiler unless you use --debug flag (#1771) 2018-07-13 11:13:29 -07:00
Paddy Carver
0435b1f387 Fix crash when updating container cluster resource labels.
We had a bad type coercion in the code to update container cluster
resource labels. This fixes the coercion.

We didn't notice this because there was no test exercising the update
code path. I've added the test, which reproduced the panic before this
PR was applied and passes successfully now that the coercion is fixed.
2018-07-13 02:27:40 -07:00
Nathan McKinley
687f8d0857 Sometimes we run tests on overloaded machines. (#1765) 2018-07-12 17:39:54 -07:00
The Magician
01a2906518 Fix nested object handling in generated code (#1757)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-07-12 17:15:40 -07:00
Paddy Carver
d80c92f33f Add stackdriverprovisioning to ignored APIs.
Add stackdriverprovisioning.googleapis.com to our list of APIs that are
automateically enabled that Terraform can't act on.
2018-07-12 13:40:30 -07:00
Paddy
e08832c48c
Revert "Fix instance group manager rolling-updates" 2018-07-12 13:09:57 -07:00
The Magician
499690f3b3 Autogenerate router resource. Also adds update support and a few new fields. (#1723) 2018-07-12 12:51:11 -07:00
Paddy Carver
a29a0cbbda Make licenses field of images computed.
Images now have a licenses field, which lets users specify licenses to
use on an image. But official images already have licenses on them, adn
so Terraform is reading those as a diff. To preserve backwards
compatiblity and avoid a breaking change that would require all
`google_compute_image` users to update their configs, I've set the field
to computed. This means that if no licenses are set in the config, there
can be licenses in the config without prompting a diff. Obviously, this
isn't ideal, as it means you can't ever remove all the licenses from an
image, but I think the benefits here outweigh the drawbacks.
2018-07-12 11:50:02 -07:00
Dana Hoffman
8b71cecad7
fix retries for wrapped errors (#1760)
Turns out this block of code:
 2ea2baaedd/google/resource_google_project_services.go (L246-L307)
wasn't actually retrying on quota failures (429s) because it was getting wrapped, so our retry helper saw it as as non-retryable. This fixes that.
2018-07-12 11:19:49 -07:00
Paddy Carver
d6f2a285ef Rename test, add comment. 2018-07-12 10:26:48 -07:00
Paddy Carver
1c4f1a0bec Merge branch 'master' into mchalek-fix-services-pagetoken 2018-07-12 06:06:17 -07:00
Paddy Carver
c998a37a83 Update our test to page.
Add a bunch more services to our manyServices test, so that we have a
page that exercises pagination logic.
2018-07-12 06:04:09 -07:00
Paddy
3d2e72208e
Merge pull request #1717 from Mierdin/master
Implement 'licenses' field in compute_image resource
2018-07-11 21:15:35 -07:00
Paddy
7663c6ff3a
Merge pull request #1742 from bpineau/fix-igm-rolling-updates
Fix instance group manager rolling-updates
2018-07-11 04:28:41 -07:00