Commit Graph

1271 Commits

Author SHA1 Message Date
The Magician
9a683a65e9 Fix generated test name formatting (#2439)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
Chris Stephens
710c96ee95 Magic Modules changes. 2018-12-20 17:22:22 -08:00
The Magician
b6029d7f74 make fmt on resource_dataproc_cluster.go (#2435) 2018-12-20 17:22:22 -08:00
Chris Stephens
02bd1c53c0 Fix ci tests 2018-12-20 17:22:22 -08:00
The Magician
7153ef3af2 Add empty files because of copying over beta resources (#2426) 2018-12-20 17:22:22 -08:00
The Magician
c4793e3aa5 Add support for accelerators to dataproc (#2411) 2018-12-20 17:22:22 -08:00
The Magician
33f25287b0 Add import support to project metadata. (#2423) 2018-12-20 17:22:22 -08:00
The Magician
5baeddf95f use import-style tests in sql database instance (#2421)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-12-20 17:22:22 -08:00
The Magician
cd607bd111 Remove unnecessary fields in PATCH updates (#2420)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
The Magician
766b377be5 Magic Modules changes. (#2417)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
The Magician
b00b5ac74b Remove backend_service.custom_request_headers from the GA provider (#2405)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
The Magician
b8e74f0676 Add support for new-style cloud functions triggers. (#2412)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
Chris Stephens
f745e5f178 Change BigQuery access list to a set 2018-12-20 17:22:22 -08:00
The Magician
4674cc73f5 Fix make fmt (#2404)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
The Magician
406eecbfe6 google_bigtable_instance add back validation to num_nodes. (#2401) 2018-12-20 17:22:22 -08:00
The Magician
e2831052fd Remove subnetwork iam from GA provider (#2398) 2018-12-20 17:22:22 -08:00
The Magician
7c3445229c Make removals in google_container_cluster (#2395) 2018-12-20 17:22:22 -08:00
The Magician
a0faab0736 Remove service_account_id from data.google_service_account_key (#2397)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
The Magician
eb19080de7 Deprecated network_interface.address in code in instance template. (#2394)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
The Magician
3b9a419089 Remove google_compute_global_forwarding_rule.labels (#2399)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
The Magician
6ff89ce84c Remove google_endpoints_service.protoc_output (#2396)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
The Magician
9961246b94 Remove max_pods_per_node from GA provider (#2391)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
The Magician
95cb529d4d Remove google_cloudfunctions_function.retry_on_failure (#2392) 2018-12-20 17:22:22 -08:00
The Magician
ed18fb9ea0 Remove google_project.app_engine (#2386)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
The Magician
1b1538a6a4 Regional Clusters are GA followup (#2387)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
Chris Stephens
0e82420de6 Change instances in target pool to be a set 2018-12-20 17:22:22 -08:00
The Magician
26ba086dbc Read Bigtable column family from the API (#2378)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
The Magician
c27ec182be add diffsuppress for iam custom role stage. fixes TPG #1801 (#2370) 2018-12-20 17:22:22 -08:00
The Magician
0f5c81ce65 regional and private clusters are in GA now (#2364)
<!-- This change is generated by MagicModules. -->
/cc @danawillow 

Fixes #2286
2018-12-20 17:22:22 -08:00
The Magician
6707290efe Make google_project_iam_policy authoritative. (#2315)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
The Magician
5a47db4d94 Remove beta generated resource maps from GA provider. (#2350)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
Chris Stephens
35d6d71cd7 Remove beta resources to fix build 2018-12-20 17:22:22 -08:00
Chris Stephens
ce78bb0ce8 Remove name_prefix from container node pool 2018-12-20 17:22:22 -08:00
Riley Karson
d0034fb1c0 Remove obsolete beta files. (#2355)
Remove the files we skip now with https://github.com/GoogleCloudPlatform/magic-modules/pull/631
2018-12-20 17:22:22 -08:00
The Magician
30fc9ec3f9 Generate DefaultObjectAccessControl in Terraform (#2358)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
Riley Karson
272872a4ed Remove duplicate storage_object_access_control test. (#2349)
blocking https://github.com/GoogleCloudPlatform/magic-modules/pull/630

This resource won't be tested between this merging and the MM pr merging
2018-12-20 17:22:22 -08:00
Chris Stephens
f85dc70b20 Fix ci tests 2018-12-20 17:22:22 -08:00
The Magician
0bed3bd5c7 add retries on create for container cluster (#2352)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-12-20 17:22:22 -08:00
The Magician
3dcf859426 Update composer timeouts (#2354)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-12-20 17:22:22 -08:00
The Magician
ba0bed37e2 Increase redis timeouts (#2351)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-12-20 17:22:22 -08:00
The Magician
b16e60ce05 use correct fields for bigtable test (#2353)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-12-20 17:22:22 -08:00
Chris Stephens
ae09a200c7 deprecate address as originally intended 2018-12-20 17:22:22 -08:00
The Magician
bf296e55bf Make google_storage_default_object_acl authoritative. (#2345)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
Chris Stephens
12369626c8 fix forwarding tests after label removal 2018-12-20 17:22:22 -08:00
The Magician
18084be345 Make google_storage_object_acl authoritative (#2316)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
The Magician
27e35adca0 Autogenerate {{Resource}}Destroy in tests. (#2317) 2018-12-20 17:22:22 -08:00
Chris Stephens
9be729fb78 support KMS encryption for instance templates 2018-12-20 17:22:22 -08:00
The Magician
29368a64d1 Add support for google_cloudfunctions_function runtime (#2340)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
Chris Stephens
04e25671f9 Adding new big query regions 2018-12-20 17:22:22 -08:00
Chris Stephens
db98fbd5e6 remove trigger_bucket and trigger_topic 2018-12-20 17:22:22 -08:00
Murcurio
ae4cfab1cc Added London and Sydney BigQuery regions 2018-12-20 17:22:22 -08:00
Chris Stephens
fc81c84ed3 Empty commit with no code changes 2018-12-20 17:22:22 -08:00
The Magician
1c3da20140 CI change only - any change here will indicate a dependency on a ruby minor version. (#2298) 2018-12-20 17:22:22 -08:00
The Magician
daa7ec23ff Add support for Google Cloud Bigtable replication (#2313)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
The Magician
1e7d3574ee Adding ipv4 range back (#2304)
<!-- This change is generated by MagicModules. -->
/cc @chrisst
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
9da993f663 Magic Modules changes. (#2297) 2018-12-20 17:22:22 -08:00
The Magician
e6ddd16269 More import formats and fix name validation for spanner databases
Fixes #2277
2018-12-20 17:22:22 -08:00
The Magician
fd6666b3ff Output from magician generating into ga and beta providers (#2271)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-12-20 17:22:22 -08:00
The Magician
4c20b7eeac Add support for google_storage_object_access_control (#2256) 2018-12-20 17:22:22 -08:00
The Magician
955b25a8e5 Add import tests for google_cloudiot_registry (#2276)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
The Magician
a3eea03faa Fix Composer Environment machineType parsing
Fixes #2227
2018-12-20 17:22:22 -08:00
The Magician
bd348c5797 changes to (r)igm so that resources can be converted from beta back to ga (#2260)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-12-20 17:22:22 -08:00
The Magician
e1f4976c64 Add more import paths for google_service_account. (#2261) 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
Chris Stephens
b8de3fd850 Deprecate network fields (#2235)
* removing old removed network fields

* Remove ipv4range option
2018-12-20 17:22:22 -08:00
The Magician
586f1e98c3 stop generating beta resources/fields (#2242)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-12-20 17:22:22 -08:00
Chris Stephens
ba001b386b Remove service account policydata (#2247)
* Removing policy_data from service account

* Remove policy_data tests that aren't needed.
2018-12-20 17:22:22 -08:00
The Magician
ca0921cb05 Support default booleans for Terraform configs (#2222) 2018-12-20 17:22:22 -08:00
Chris Stephens
a0e2d50331 Change deprecated fields back to 'Removed' (#2241)
* Change deprecated fields back to 'Removed'

To provide a better user experience we're going to mark the fields as removed
so that users will get a more accurate error message. We will follow up a while
later to actually remove them from schema.
2018-12-20 17:22:22 -08:00
Chris Stephens
192684a7f6 Removing create_timeout from compute image (#2244) 2018-12-20 17:22:22 -08:00
Chris Stephens
c4db896d39 Test failures (#2250)
fix disk encrypt tests
fxing compute instance data source tests
fixing the compute instance migration tests
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
Labesse Kévin
293a63e74a adding attribute family for bigtable_table (#2228)
Fix #1576
2018-12-20 17:22:22 -08:00
The Magician
0008f6d840 PR from HEAD of Magic Modules after long-running PR merged in. (#2246) 2018-12-20 17:22:22 -08:00
Chris Stephens
a93c57e76a Don't allow destroying backend buckets in dataproc (#2224)
Removing the delete_autogen_bucket property
Buckets will not be deleted when a dataproc resource is destroyed
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
Riley Karson
5eab9af814 Make google_sql_database_instance authoritative. (#2203) 2018-12-20 17:22:22 -08:00
The Magician
22ecabd739 Add documentation support to the stackdriver alertPolicy (#2226)
<!-- This change is generated by MagicModules. -->
/cc @chrisst
2018-12-20 17:22:22 -08:00
Riley Karson
a9b6e3f5e1 Make google_compute_project_metadata authoritative. (#2205) 2018-12-20 17:22:22 -08:00
Chris Stephens
50fe1b6c83 Remove address and create_timeout from instance (#2219) 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
The Magician
6cfaa24ef0 labelfingerprint is beta for resources where labels are beta (#2206) 2018-12-20 17:22:22 -08:00
Riley Karson
8c42015451 Make google_compute_instance metadata authoritative. (#2208) 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
Nathan McKinley
93ffe28133
add sql private ip to ga provider (#2665) 2018-12-13 15:45:09 -08:00
Riley Karson
4a0ee14304
Duplicate what tpgb does for master_ipv4_cidr_block (#2661)
Looks like we missed a couple lines while cherrypicking; copied these from tpgb.
2018-12-13 10:56:59 -08:00
The Magician
73d127a387 Fix spanner database iam binding import (#2603) 2018-12-12 17:23:35 -08:00
The Magician
9e566cc0be Fix project services tests by using a service without any dependencies (#2645) 2018-12-12 17:23:35 -08:00
Paddy
aec43adc25 Accommodate the new iamcredentials service in tests 2018-12-12 17:23:35 -08:00
Riley Karson
b885cdaf87 Fix deprecated convenience fields in disk. 2018-12-12 17:23:35 -08:00
The Magician
a138701b75 Fix for permadiff in container cluster caused by beta resource. (#2488) 2018-12-12 17:23:35 -08:00
The Magician
aafc6b1920 Fix project services tests by using a service without any dependencies (#2645) 2018-12-12 17:23:35 -08:00
The Magician
e07e1ba4e8 Add router nat resource. For TPG #2249. (#2576) 2018-12-12 17:23:35 -08:00
Paddy Carver
979e846f4e Fix the breaking change in sqladmin.
This is the diff after running GoogleCloudPlatform/magic-modules#690.
We're applying it manually to fix the build, because the magician won't
pull the code to create this PR until the code can be built.
2018-12-12 17:23:35 -08:00
The Magician
e49b23a6ee Fix nested read in Snapshot. (#2593)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-12 17:23:35 -08:00
The Magician
24138aa844 Deprecate convenience fields in google_compute_snapshot (#2572)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-12 17:23:35 -08:00
Nathan McKinley
de52ccdf3b Add deprecation message to resource_google_project_iam_custom_role.deleted. 2018-12-12 17:23:35 -08:00
Nathan McKinley
68f4590aa7 Compute project metadata reads were failing on import. 2018-12-12 17:23:35 -08:00
The Magician
a5f1e6002c Container cluster changes ancillary to beta support for autoprovisioning. (#2415) 2018-12-12 17:23:35 -08:00
The Magician
ed2fa7266d Autogenerate {{Resource}}Destroy in tests. (#2317) 2018-12-12 17:23:35 -08:00
Riley Karson
b321a6260b Add update_strategy deprecation message to 1.20.0. (#2575)
Part of https://github.com/terraform-providers/terraform-provider-google/issues/2551
2018-12-12 17:23:35 -08:00
The Magician
63c8a1babe Add support for content-based load balancing to google_compute_health_check (#2550)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-12 17:23:35 -08:00
Chris Stephens
b16f2a1b5d Merge pull request #2502 from modular-magician/codegen-pr-933
New Resource: Stackdriver uptime check
2018-12-12 17:23:35 -08:00
Manuel Correa
decc9db551 Add support for data source 'google_iam_role' (#2482)
Add `google_iam_role` data source to be able to fetch and query for GCP IAM roles permissions.
2018-12-12 17:23:35 -08:00
The Magician
8256815662 Add billing account IAM (#2413) 2018-12-12 17:23:35 -08:00
Ben Vickers
fceefe6cd1 Add the sql ssl (client) cert resource (#2290)
* add the sql client cert resource

* correct schema ordering for sql ssl cert resource
2018-12-12 17:23:35 -08:00
The Magician
e72103301b Add provider version to useragent. (#2442)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-12 17:23:35 -08:00
The Magician
8da6d3b181 Update pubsub topic to read after create, same as TPG #2346 (#2469)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-12-12 17:23:35 -08:00
Chris Stephens
7a4893f83c Merge pull request #2452 from modular-magician/codegen-pr-896
Stackdriver notification channel
2018-12-12 17:23:35 -08:00
Chris Stephens
14ea8d6f06 Merge pull request #2451 from modular-magician/codegen-pr-895
New Resource: Stack Driver Group
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
Nathan McKinley
bbaf961dda make fmt 2018-12-12 17:23:35 -08:00
Chris Stephens
072370d4c5 Merge pull request #2430 from modular-magician/codegen-pr-882
Fix ci tests
2018-12-12 17:23:35 -08:00
The Magician
b90091e926 Add import support to project metadata. (#2423) 2018-12-12 17:23:35 -08:00
The Magician
1ecab9556a Add support for new-style cloud functions triggers. (#2412)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-12 17:23:35 -08:00
The Magician
09b344057c Deprecated network_interface.address in code in instance template. (#2394)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-12 17:23:35 -08:00
The Magician
4570cd119a Regional Clusters are GA followup (#2387)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-12 17:23:35 -08:00
The Magician
b08884f49e regional and private clusters are in GA now (#2364)
<!-- This change is generated by MagicModules. -->
/cc @danawillow

Fixes #2286
2018-12-12 17:23:35 -08:00
The Magician
8f6ddefe4f Generate DefaultObjectAccessControl in Terraform (#2358)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-12 17:23:35 -08:00
Riley Karson
161bbe3ecf Remove duplicate storage_object_access_control test. (#2349)
blocking https://github.com/GoogleCloudPlatform/magic-modules/pull/630

This resource won't be tested between this merging and the MM pr merging
2018-12-12 17:23:35 -08:00
The Magician
b7801660c9 add retries on create for container cluster (#2352)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-12-12 17:23:35 -08:00
The Magician
b857fd457c Update composer timeouts (#2354)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-12-12 17:23:35 -08:00
The Magician
175fe793f4 Increase redis timeouts (#2351)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-12-12 17:23:35 -08:00
Chris Stephens
49d8d6f2f3 support KMS encryption for instance templates 2018-12-12 17:23:35 -08:00
The Magician
abf53cd91a Add support for google_cloudfunctions_function runtime (#2340)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-12 17:23:35 -08:00
Murcurio
7da3ae346a Added London and Sydney BigQuery regions 2018-12-12 17:23:35 -08:00
The Magician
cfb5ed75e8 More import formats and fix name validation for spanner databases
Fixes #2277
2018-12-12 17:23:35 -08:00
The Magician
4a4a33da8a Output from magician generating into ga and beta providers (#2271)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-12-12 17:23:35 -08:00
The Magician
7e5749ad35 Add support for google_storage_object_access_control (#2256) 2018-12-12 17:23:35 -08:00
The Magician
d3ab42a60f Add import tests for google_cloudiot_registry (#2276)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-12 17:23:35 -08:00
The Magician
1eda3c664b Fix Composer Environment machineType parsing
Fixes #2227
2018-12-12 17:23:35 -08:00
The Magician
78f9957623 Add more import paths for google_service_account. (#2261) 2018-12-12 17:23:35 -08:00
Riley Karson
2f6b39ee21 Revert "Update cloudbuild trigger in place (#2121)"
This reverts commit 02eb26bdb3.
2018-11-13 07:50:37 -08:00
nownabe
02eb26bdb3 Update cloudbuild trigger in place (#2121)
Hi!

Now any changes of cloud build trigger create new one, this PR makes triggers modifiable in place.

I referred to [bigquery dataset](9f0b792f09/google/resource_bigquery_dataset.go (L353)). If theare are better examples, I'd like to know them.
2018-11-12 15:15:39 -08:00
Paddy
56c86ec607
Merge pull request #2239 from rileykarson/empty-typelist-cherry
Fix empty TypeList expands in generated resources (#2233 cherrypick)
2018-10-11 23:26:47 -07: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
Riley Karson
5512f8a961 Guard against nil empty typelists. 2018-10-11 09:48:19 -07:00
Dana Hoffman
8f35c8285f set app engine to empty if api not enabled 2018-10-10 13:07:10 -07:00
Dana Hoffman
a0979fe66a don't try to parse the source image if there is none 2018-10-10 13:06:38 -07:00
Riley Karson
95c57ac681 Fix generated provider_versions links 2018-10-09 15:26:38 +00:00
Paddy Carver
054ec287eb Fix go fmt. 2018-10-08 13:13:26 -07:00
Riley Karson
52a17333c0 Deprecate restore_policy in code 2018-10-08 11:37:19 -07:00
The Magician
1b88724449 Add example tests for Redis, Filestore, ContainerAnalysis (#2131)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-10-05 15:28:31 -07:00
The Magician
fe8b2207fe Add an address example with a VM instance (#2141)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-10-05 13:05:58 -07:00
The Magician
645eab7ced Add new generated tests for examples (#2111) 2018-10-05 12:32:57 -07:00
Dana Hoffman
a68485ec5e add retries for all calls in sql database resource 2018-10-04 16:04:29 -07:00
Paddy
9a1ca01f6a
Merge pull request #2170 from danawillow/storageobjectacl
set role entity to nil on read if it isn't in state
2018-10-04 13:33:04 -07:00
Dana Hoffman
b79d8178bc set role entity to nil on read if it isn't in state 2018-10-04 10:28:45 -07:00
The Magician
d5308e5119 Fix false ImportStateVerify failures in redis tests. (#2169) 2018-10-04 10:27:17 -07:00