Commit Graph

1588 Commits

Author SHA1 Message Date
Vincent Roseberry
3a945770e5
Get test org and billing account in a consistent way (#766) 2017-11-20 15:45:51 -08:00
Vincent Roseberry
6dbe1f3313
Update CHANGELOG.md 2017-11-20 15:39:00 -08:00
Vincent Roseberry
454384fc70
All beta fields in compute firewall are GA (#768)
* Upgrade compute v1 client
* Upgrade gensupport
* Use v1 API now that all beta features are in GA for `google_compute_firewall`
2017-11-20 15:38:47 -08:00
Vincent Roseberry
7e0da698d9
Update CHANGELOG.md 2017-11-17 11:23:21 -08:00
thomas
8ee14c4424 Add the "google_compute_global_address" datasource (#759)
* Add the "compute_global_address" datasource

* Add a basic test for the "compute_global_address" datasource

* Include the "compute_global_address" in the provider

* Add docs for the "compute_global_address" datasource
2017-11-17 11:22:37 -08:00
thomas
ecdb1de297 the XPN_* env. variable is no longer mandatory (#760)
Since this variable is only used for 3 tests, it doesn't make sense
to declare it as mandatory in the test config. Therefore, concerned tests
are now skipped if the variable is absent.
2017-11-17 10:32:46 -08:00
Vincent Roseberry
aa63af1fc3
Add documentation for import in google_folder_organization_policy (#746)
* Remove import support for org policy

* Add ForceNew to org_id field

* Revert "Remove import support for org policy"

This reverts commit f65d9fb347d6b0998be55ef823c5726e876c53ae.

* Add import documentation for google_organization_policy
2017-11-17 09:24:48 -08:00
Dana Hoffman
17ea5ea970
Update CHANGELOG.md 2017-11-16 17:39:10 -08:00
Johannes Brüderl
7a9582ac00 allow node pools with size 0 (#752) 2017-11-16 17:38:42 -08:00
Dana Hoffman
451b9cb6b6
fix target pool import test (#755) 2017-11-16 15:07:14 -08:00
Vincent Roseberry
5bcd7cb921
Push expiration time values in acc test farther in the future (#754) 2017-11-16 11:01:05 -08:00
Dana Hoffman
8fa1178814
compare next hop by self link (#753) 2017-11-16 10:53:49 -08:00
Dana Hoffman
b7177e04c8
Delete encryptor-pod.yml (#749)
Somehow this snuck in to #692 but it doesn't look like it's actually used anywhere.
2017-11-16 09:50:58 -08:00
Vincent Roseberry
c1ca4eae24
Update CHANGELOG.md 2017-11-16 09:17:39 -08:00
thomas
06140c553a Add the "google_compute_address" datasource (#748)
* Add the "compute_address" datasource

* Add a basic test for the "compute_address" datasource

* Include the "compute_address" datasource in the provider

* Add the documentation for the "compute_address" datasource
2017-11-16 09:16:52 -08:00
Vincent Roseberry
fcc5a1cd77
Add menu link to datasource google_active_folder (#745) 2017-11-15 16:00:15 -08:00
Vincent Roseberry
9428069785
Update CHANGELOG.md 2017-11-15 13:16:18 -08:00
Norberto Lopes
5a261e0cff Add folder data source (#738) 2017-11-15 13:14:03 -08:00
Dana Hoffman
11d15479f3
Update CHANGELOG.md 2017-11-14 13:21:50 -08:00
Andrew Farrell
56d633a8d4 Adds support for creating KMS CryptoKeys resources (#692)
* Adds support for creating KMS CryptoKeys resources

* Destroy extant CryptoKeyVersions on CryptoKey destroy

* Inherit project, location etc from KeyRing in CryptoKey

* Add function to calculate next rotation

* Implement RotationPeriod parameter on CryptoKey

* Import CryptoKey state

* Uncommit my local acceptance test hacks

* Docs for google_kms_crypto_key

* Clear id at the end of CryptoKey deletion

Also add more detail to warning message.

* Fix parseCryptoKeyId error messages

* Use correct naming in CryptoKeyIdParsing test

* Check RotationPeriod is present in acceptance test

* Rename variable in test function for consistency

* Fix wrong resource name in cryptokey docs

* Add KeyRing to CryptoKey doc example

* Run test CryptoKey configs through terraform fmt

* Don't set CryptoKey purpose in terraform state on import

* Fix indentation in CryptoKey test

* Parallelise CryptoKey tests

* Set rotation_key on CryptoKey read

* Move RotationPeriod validation to planning phase

* Use import state passthrough for CryptoKey

* Correct casing issues in test case names

* Remove redundant CheckDestroy calls in CryptoKey tests

* Add explanatory comment about extra test steps

* More explicit error handling in CryptoKey tests

* Explicit dependency on project services in test keyring configs

* Clean up comments in cryptokey resource

* Do not repeat in cryptokey id regexes
2017-11-14 13:21:25 -08:00
Vincent Roseberry
a6d50b0c87
Make the link to the documentation more discoverable (#739)
Right now, the link is under the "Using the provider" section, I think it doesn't hurt to also add it at the top of the README file.
2017-11-14 13:19:15 -08:00
Dana Hoffman
a724c06078
Update CHANGELOG.md 2017-11-14 11:42:57 -08:00
Dana Hoffman
2c8dbac663
Fix timeout issue with project services (#737)
* retry api enablement/disablement for 10 minutes

* retry to retryTime
2017-11-14 11:41:57 -08:00
Vincent Roseberry
3bd6e35c80
Update CHANGELOG.md 2017-11-13 16:05:26 -08:00
Vincent Roseberry
108971f261
Add new resource to support IAM custom organization roles (#735)
* Add new resource to support IAM custom organization roles
* Add documentation
2017-11-13 16:05:16 -08:00
Vincent Roseberry
2e8ec6f9c3
Update CHANGELOG.md 2017-11-13 16:00:49 -08:00
Vincent Roseberry
a6378fc3d4
Add import support for google_compute_backend_bucket (#736)
* Add import support for google_compute_backend_bucket
* Improve docs for consistency
2017-11-13 15:59:34 -08:00
Vincent Roseberry
c8d2131294
Fix wrong filename for project custom role documentation (#734) 2017-11-13 14:57:58 -08:00
Vincent Roseberry
ee4cc85d79
Update CHANGELOG.md 2017-11-13 12:52:58 -08:00
Vincent Roseberry
6adbdcfaee
Change authorized_networks to set (#733) 2017-11-13 12:51:15 -08:00
Martin Atkins
182f87835b website: revised documentation for Compute Shared VPC resources (#725)
The documentation pages for these two resources were previously a little
muddled, with the argument references swapped and a non-working example
for the host project.
2017-11-13 12:48:18 -08:00
Vincent Roseberry
68c6641dee
Update CHANGELOG.md 2017-11-13 11:31:59 -08:00
Michael Bannister
ee641e0b1f Relax diff on maintenance_policy.daily_maintenance_window.start_time (#726)
* Relax diff on maintenance_policy.daily_maintenance_window.start_time

If the maintenance window has been set outside of Terraform to a time with a
single-digit hour (such as 1:00), and the terraform definition is set to the
same hour but with a leading zero as per validation (i.e. 01:00), do not
consider the time to be changed (as we currently don't support update on this
property).

Fixes #719

* Generalise rfc3339TimeDiffSuppress and add more test cases
2017-11-13 11:30:26 -08:00
Martin Atkins
df247070e0 Update README.md 2017-11-10 14:29:45 -08:00
James Turley
36160943f3 Correction and clarification of service_account_key docs (#721)
* Clarify acceptable inputs for pgp_argument in service_account_key docs

* Correct the key_algorithm argument docs on service_account_key
2017-11-10 11:07:05 -08:00
Vincent Roseberry
e7d1bd61b2
Update CHANGELOG.md 2017-11-10 11:02:36 -08:00
Vincent Roseberry
ab68b06af5
Add new resource to support IAM custom project roles. (#709)
* Upgrade iam client to latest version
* Add new resource to support IAM custom roles.
* Add documentation
2017-11-10 11:01:33 -08:00
Vincent Roseberry
756dec44d8
Update CHANGELOG.md 2017-11-10 11:00:09 -08:00
Vincent Roseberry
5aa9f574ea
Properly handle diff in google_compute_route next_hop_instance field (#716) 2017-11-10 10:57:53 -08:00
Dana Hoffman
88a21c2304
Update CHANGELOG.md 2017-11-10 10:22:16 -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
thomas
b3a22d0a7e Fix the description of the compute instance group as it is targeting unmanaged instances (#713) 2017-11-09 14:20:40 -08:00
Vincent Roseberry
1c8eb9adba
Update CHANGELOG.md 2017-11-09 10:19:30 -08:00
Konrad Rotkiewicz
a7c8d0469a Add import support for ssl certificate, http/s proxy and url map (#678) 2017-11-09 10:16:57 -08:00
tf-release-bot
a8718768bf Cleanup after v1.2.0 release 2017-11-09 18:05:34 +00:00
tf-release-bot
69ac46e035
v1.2.0 2017-11-09 18:01:49 +00:00
Vincent Roseberry
bd30b25a8f
Serialize org policy boolean tests to avoid flakiness when tests are run in parallel (#708) 2017-11-08 11:29:04 -08:00
Paddy
e16d169106
Merge pull request #707 from terraform-providers/paddy_fix_test_commenting
Fix commented out test.
2017-11-08 11:12:46 -08:00
Paddy
f4b7ca7cbe Fix commented out test.
Because of weirdness in our test runner, our CI tries to run every test
that matches the TestAcc* prefix, _even if it's commented out_. This
leads to failed tests in CI for tests that aren't even running, which is
annoying.

This PR just lowercases the first letter of the test so it doesn't match
the prefix anymore and the CI won't try to run it.
2017-11-08 10:58:30 -08:00
Alberto
d1305e989a add test for resource_google_project_iam_policy (#698) 2017-11-08 09:26:32 -08:00