Commit Graph

1709 Commits

Author SHA1 Message Date
Vincent Roseberry
c1d9bb24c9
Support import in compute instance (#873) 2017-12-19 14:33:30 -08:00
Vincent Roseberry
ba44353e46
Update CHANGELOG.md 2017-12-19 13:27:36 -08:00
Michael Parker
18a6255064 Adds google_kms_secret data source (#741)
* Create google_kms_secret datasource

* Create google_kms_secret datasource documentation

* Remove duplicated code

* Create acceptance test

* Fix indentation

* Add documentation to sidebar

* Update Cloud SDK link in docs

* Oxford comma

* Rename variable to make it clear which resource is under test

* Update test to use utils from provider_test
2017-12-19 13:24:35 -08:00
Vincent Roseberry
2e9933be44
Ignore beta vs v1 network diff in subnetwork datasource test (#849) 2017-12-19 13:08:14 -08:00
Vincent Roseberry
bc03e98998
Merge import test in regular acceptance tests for a few compute resources (#874) 2017-12-19 12:43:30 -08:00
Vincent Roseberry
98a642f354
Add min_cpu_platform docs in instance template (#879) 2017-12-19 09:50:11 -08:00
Jonathan Liuti
e3bd6b9a1d Add configurable timeouts to subnetworks (#871) 2017-12-18 09:47:11 -08:00
Stefan Schmidt
78db4bfcaa Use the correct resource type in the google_organization_policy examples. (#868) 2017-12-15 10:06:08 -08:00
Stefan Schmidt
dc5075b6ae google_folder_organization_policy examples need folder, not org_id. (#869) 2017-12-15 10:05:22 -08:00
Vincent Roseberry
450a2c9b74
Update CHANGELOG.md 2017-12-14 14:54:24 -08:00
Vincent Roseberry
b70803264f
Add service account IAM support (#840)
* Add service account iam resources
* Add documentation
* Add import functionality to iam resources
* Add import documentation
2017-12-14 14:52:44 -08:00
thomas
961ebf1d69 Removes unsupported identities related to project iam binding (#859) 2017-12-14 14:41:48 -08:00
Vincent Roseberry
0f08185a27
Update CHANGELOG.md 2017-12-14 14:30:37 -08:00
Vincent Roseberry
293728929f
Add update support for routing mode in google_compute_network (#857)
* Fetch latest compute v1 client

* Add update support for rounting in google_compute_network
2017-12-14 14:28:58 -08:00
Nathan McKinley
734156e88f
Update CHANGELOG.md 2017-12-14 13:37:33 -08:00
Nathan McKinley
d2611d4ce3
New data source: compute region instance group (#851)
* Add new data source: compute region instance group manager's groups.
* Add documentation for wait_for_instances and for the timeout mechanism in resourceComputeRegionInstanceGroupManagerCreate.
2017-12-14 13:35:39 -08:00
Vincent Roseberry
086b9e9f00
Update CHANGELOG.md 2017-12-13 17:04:30 -08:00
Vincent Roseberry
d2289c2ca1
Add configurable timeouts to google_compute_instance (#856) 2017-12-13 17:03:15 -08:00
Vincent Roseberry
6d8294c8df
Update CHANGELOG.md 2017-12-13 16:48:18 -08:00
Vincent Roseberry
433fdcc49f
Storage bucket doesn't remove lifecycle rules properly (#850)
* Update storage client

* Read lifecycle from API and improve acceptance tests
2017-12-13 16:46:48 -08:00
Vincent Roseberry
5585b14069
Import test refactoring for some resources. (#854)
* Improve import tests for folder, org iam custom roles and org policies

* improve import test for google project
2017-12-13 16:45:52 -08:00
Vincent Roseberry
e4516341ad
Update CHANGELOG.md 2017-12-13 16:43:48 -08:00
Vincent Roseberry
982f4d1c0b
Fix storage object detect md5 hash for dynamic content (#848) 2017-12-13 16:41:07 -08:00
Nathan McKinley
bea8642a1b
Bugfix: add read back in to the KMS crypto key read method. (#853)
* Bugfix: add read back in to the KMS crypto key read method.
Impact of this bug: if a user deleted a crypto key outside terraform and then reran `apply`, the old key would stay in the plan.

* Fix panic in validate method.
* Make import test confirm validity of reads.
2017-12-13 13:08:35 -08:00
Vincent Roseberry
6bbd97fe93
Update CHANGELOG.md 2017-12-12 11:30:40 -08:00
Michael Parker
606103afb6 Add support for compute network routing mode (#838)
* Add ability to specify compute network routing mode
* Update docs
2017-12-12 11:29:49 -08:00
Nathan McKinley
5766f2b107
Remove all instances of GOOGLE_XPN_HOST_PROJECT environment variable. (#815)
Remove all instances of GOOGLE_XPN_HOST_PROJECT environment variable.

Instead of GOOGLE_XPN_HOST_PROJECT being required to run some tests, I added the ability to create and tear down the necessary project structure.
This allows us to remove one environment variable, and use two others which are already widely-required: org and billing ID.
2017-12-11 14:07:52 -08:00
Nathan McKinley
72e97befe5
Update CHANGELOG.md 2017-12-11 10:49:29 -08:00
Nathan McKinley
ced8cb506c
Consistent IAM resource imports. (#835)
Add consistency for for IAM imports.
- Adds imports for projects, folders, crypto keys, organizations, and key rings.
- Anything else with IAM can implement a simple method and begin working immediately.
- Add tests for all the IAM imports.
- Import documentation for IAM resources.
2017-12-11 10:24:53 -08:00
Kit Ewbank
bf235ebc04 Correct 'sidebar_current' value (#834) 2017-12-11 09:57:19 -08:00
tf-release-bot
fb70d74ab9 Cleanup after v1.4.0 release 2017-12-11 17:56:43 +00:00
tf-release-bot
323c7d823f
v1.4.0 2017-12-11 17:52:49 +00:00
Vincent Roseberry
a41b8c470f
Add IAP documentation (#839) 2017-12-11 09:43:27 -08:00
Paddy
355d4f27c2
Update CHANGELOG.md 2017-12-08 14:31:05 -08:00
Paddy
e57ab59208
Update CHANGELOG.md 2017-12-08 14:30:31 -08:00
Paddy
792fa311c7
Merge pull request #832 from terraform-providers/paddy_creds_file_or_path
Fix our provider validation to allow file paths.
2017-12-08 14:28:46 -08:00
Paddy
2829f109af
Update CHANGELOG.md 2017-12-08 14:13:37 -08:00
Paddy
f5a835141d
Merge pull request #833 from terraform-providers/paddy_compute_image_ds
Add compute image data source
2017-12-08 14:11:47 -08:00
Paddy
26c53f0be7 Tweak image data source docs. 2017-12-08 14:03:33 -08:00
Paddy
f18607b849 Fix our provider validation to allow file paths.
Previously, provider credentials were _supposed_ to be able to be
specified as the file contents or the path to the file. We even had a
test for the code for this!

Then we updated the validation for the provider, and forgot to validate
filepaths as ok. So provider validation failed. And because our test
only tested the config validation, and not the provider validation, our
tests thought this was just fine still.

This fixes that oversight, accepting filepaths as valid. It also adds
tests to ensure that provider validation allows both file paths and
contents.
2017-12-08 13:57:55 -08:00
koenw
4da0e984f6 Implement in-place updates of secondary IP ranges (#811) 2017-12-08 13:11:09 -08:00
Vincent Roseberry
13eb96cf6a
Update CHANGELOG.md 2017-12-08 11:17:05 -08:00
Kit Ewbank
a4dc6cc072 Correct 'google_organization_iam_policy' to 'google_folder_organization_policy' (#830) 2017-12-08 11:16:02 -08:00
Vincent Roseberry
b88561b44f
Robust id parsing for big query table (#828) 2017-12-08 11:13:53 -08:00
Paddy
2142ea4bea
Update CHANGELOG.md 2017-12-07 14:57:31 -08:00
Vincent Roseberry
4cb7ce7d22
Update CHANGELOG.md 2017-12-07 13:13:39 -08:00
Vincent Roseberry
3bceb8f951
Add IAM support for storage bucket (#822)
* Add IAM support for storage bucket
* Add documentation
* Test multiple roles
2017-12-07 13:12:25 -08:00
Nathan McKinley
2772416b18
Update CHANGELOG.md 2017-12-06 14:59:11 -08:00
Nathan McKinley
0f53c4532f
Update CHANGELOG.md 2017-12-06 14:55:16 -08:00
Nathan McKinley
f7bdcde1c4
Add an example of use of shared VPC networking. (#810)
Brings up four projects:
  - one to host the VPC
  - two to use the VPC
  - one which is outside the VPC

This is based on the diagram in https://cloud.google.com/vpc/docs/shared-vpc and uses the names there where possible for clarity.

On one of the machines, a page is generated demonstrating that the networking is working the way you'd expect.  That machine's public IP is output by `terraform apply`.
2017-12-06 14:52:48 -08:00