Commit Graph

60 Commits

Author SHA1 Message Date
The Magician
6ee10e3bf3 Check for errors in import ID parsing. (#2733) 2018-12-21 10:31:32 -08:00
The Magician
9582532556 Remove inferred zone from region on Disk import (#2694)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
The Magician
c605b0bc4b [Terraform]: Apply gofmt -s to all files managed by MM (#2676)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
The Magician
21271a65e3 Adding default timeouts to sync MM resources (#2569) 2018-12-20 17:22:22 -08:00
Chris Stephens
5bc96d3fa1 Pass the terraform resource into all flatten methods 2018-12-20 17:22:22 -08:00
Chris Stephens
1fe4aca6e7 Move the set project logic higher in the read method 2018-12-20 17:22:22 -08:00
Chris Stephens
150327a22a Ignore empty maps inside arrays 2018-12-20 17:22:22 -08:00
The Magician
4089321402 Fix disk snapshot expand/encode, kmsKeyName decoder (#2450)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
The Magician
a7e94bbfeb KMS changes - non functional (#2302)
<!-- This change is generated by MagicModules. -->
/cc @slevenick
2018-12-20 17:22:22 -08:00
The Magician
c98140f0db Autogenerate google_compute_url_map (#2245)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
The Magician
5f236ec8e8 Moving raw_key properties back to 'Removed' (#2248) 2018-12-20 17:22:22 -08:00
The Magician
6670f0cccc Fix empty TypeList expands in generated resources (#2233)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
The Magician
eafe197070 Remove deprecated raw_key convenience property (#2209)
Removing disk_encryption_key_sha256 and disk_encryption_key_raw and removing the custom diff logic associated with them.

<!-- This change is generated by MagicModules. -->
/cc @chrisst
2018-12-20 17:22:22 -08:00
Nathan McKinley
902675c324 Reverting 1.20 and 1.19 cherrypick branches. 2018-12-20 17:22:22 -08:00
Riley Karson
b885cdaf87 Fix deprecated convenience fields in disk. 2018-12-12 17:23:35 -08:00
The Magician
4ebac8a923 Fix disk snapshot expand/encode, kmsKeyName decoder (#2450)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-12 17:23:35 -08:00
The Magician
66c10d2ce1 Fix empty TypeList expands in generated resources (#2233)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-10-11 16:08:17 -07:00
The Magician
10af01f76e Do not send empty values for nested properties (#2117)
<!-- This change is generated by MagicModules. -->
/cc @chrisst
2018-09-28 09:47:20 -07:00
The Magician
87204bf8aa Sort optional properties by name (#2091)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-09-20 13:22:36 -07:00
The Magician
085a05cefc Fix region disk type (#1890)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-08-16 12:29:39 -07:00
The Magician
81420a2e57 move getProject/op call and allow sending objects in delete (#1888) 2018-08-16 12:16:14 -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
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
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
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
b93a759b25 Switch compute/disk type to be a resource reference instead of string. (#1748) 2018-07-10 10:51:46 -07:00
The Magician
18e0d423d6 Autogenerate VPN Tunnel resource (#1699) 2018-06-29 16:27:01 -07:00
The Magician
a3964baed6 Fix some unit test failures in generated code where custom expanders are used. (#1691)
<!-- This change is generated by MagicModules. -->
/cc @ndmckinley
2018-06-21 17:46:50 -07:00
The Magician
57a2e984ca Autogenerate Subnetwork. (#1661) 2018-06-19 13:56:06 -07:00
The Magician
43cccf3e2c Minor cleanup of disk's labelFingerprint. (#1651) 2018-06-14 20:34:10 -05:00
The Magician
50f00fa6dc Autogenerate the Address resource. (#1634) 2018-06-11 17:31:33 -07:00
The Magician
d7d72398b6 zone field in compute disk should be optional (#1631) 2018-06-08 15:20:39 -07:00
The Magician
b85473619c Correct issue with Disk encryption. (#1584)
* Correct issue with Disk encryption.

* Update to test to make it less permissive.
2018-06-04 10:01:52 -07:00
The Magician
dd92a3732e Adds handleNotFoundError to all resource's Delete methods. (#1581) 2018-06-02 17:33:30 -03:00
The Magician
fd208dc7ca Autogenerate Disk resource (#1521). 2018-05-31 18:10:06 -07:00
Nathan McKinley
4c4b4be413
When a disk shrinks, require ForceNew. (#1460) 2018-05-09 10:59:48 -07:00
Nathan McKinley
b3a1f43dbc
Set isn't a valid key for a TypeMap (#1259)
This line wasn't doing anything so we might as well get rid of it.  :)
2018-04-02 13:11:09 -07:00
Dana Hoffman
141b965e83
protect against an instance getting deleted by an igm while the disk is being detached (#1241) 2018-03-22 16:22:59 -07:00
Florian Pfeiffer
5ea98d27f9 Loosen regex in computeDiskUserRegexString - accept ":" or "." (#1145) 2018-03-02 12:10:40 -08:00
Dana Hoffman
919e7ee52f
Don't store disk id in state if it didn't create (#1129) 2018-02-26 11:13:20 -08:00
Vincent Roseberry
3a65e36cbc
Diff suppress unconventional public image family naming pattern (#1024)
* DiffSuppress for all public images family names

* Update documentation

* TF_ACC guard

* diskImageEquals should use ==
2018-01-31 09:33:26 -08:00
Vincent Roseberry
429c8e834c
Remove latest image from diskImageDiffSuppress (#1021) 2018-01-30 11:05:23 -08:00
Vincent Roseberry
d0f5fec463
Standardize resource name extraction from self_link/uri (#939)
* Standardize resource name extraction from self_link/uri

* remove rebase artifact

* style improvement

* Fix merge issue
2018-01-17 10:45:28 -08:00
Vincent Roseberry
dab491d28d
Make zone field consistent and truly optional for all resources (#914) 2018-01-03 16:18:40 -05:00
Vincent Roseberry
bded8d19ec
Better DiffSuppressFunc for disk image field (#884)
* Proper DiffSuppress for disk image field

* Add support for more possible image format
2017-12-21 10:00:35 -08:00
Nathan McKinley
114b646fae
Enable 'zone' to be specified at the provider level instead of per-resource. (#816)
- Fetch Zone attribute any place where it *was* being fetched from the schema by
	combination schema / provider-level attribute.
- Allow region to be unspecified if zone is specified.
- Switch one example to using provider-level zone as an example.
- Make provider-level zone optional.  (Individual resources will fail if they can't find a zone.)
- Add tests for getZone and getRegion.
2017-12-06 14:30:04 -08:00
Vincent Roseberry
6c5d6b72e0
Store project and region in state (#784)
* Store project and region in state

* Delete unused project in runtimeconfig_variable
2017-11-27 16:32:20 -08:00
Dana Hoffman
b5faecd585
Add configurable timeouts for disks (#717)
* add configurable timeouts for disks

* add test for disk timeout
2017-11-10 10:21:14 -08:00
Joe Selman
2765290724 Add label support to google_compute_snapshot (#570)
* Add label support to google_compute_snapshot
* Refactor operation polling code to use client directly
2017-10-13 15:36:03 -07:00