Commit Graph

1682 Commits

Author SHA1 Message Date
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
Vincent Roseberry
a2b3666551
Rename kms iam test file (#827) 2017-12-06 14:39:29 -08:00
Nathan McKinley
a907d37dca
Update CHANGELOG.md 2017-12-06 14:34:18 -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
9bebdd02f5
Make network name unique between each test run (#826)
* Make network name unique between each test run

* make fmt
2017-12-06 12:36:00 -08:00
Paddy
e8cd017aac
Merge pull request #825 from terraform-providers/paddy_fix_db_sweeper
Fix the database sweeper.
2017-12-06 12:26:23 -08:00
Paddy
04fb54a8fc I'm on a roll.
How do program.
2017-12-06 12:01:30 -08:00
Paddy
f717f878e7 Actually check if an instance is running.
Forgot the most important part of the fix!
2017-12-06 11:59:45 -08:00
Paddy
4f9687e457 Fix the database sweeper.
It's getting hung up on a database replica instance that's not running,
so it can't stop it.

To resolve, we're only trying to stop replica instances that are in a
running state. Also, I noticed a bug that we'd try to delete replicas
twice, so I fixed that, as well.
2017-12-06 11:56:17 -08:00
Philip Cristiano
54ea8bb732 examples: Fix credentials key (#821)
This is out of date and now uses `credentials` as the key
2017-12-06 10:15:42 -08:00
Vincent Roseberry
d4e297ec44
Add google_kms_key_ring_iam_policy resource and improve iam docs (#814)
* Add google_kms_key_ring_iam_policy resource and improve iam docs
* Delete iam_binding and iam_member specific doc page for key ring
2017-12-06 09:33:21 -08:00
Daniel Compton
7f703c954e Explain that compute_url_map needs self link for test.service (#818) 2017-12-05 11:26:45 -08:00
thomas jouannic
0120a84491 Include the "compute_image" datasource doc into the sidebar 2017-12-05 00:40:44 +01:00
thomas jouannic
867a9794cd Add documentation about the "compute_image" datasource 2017-12-05 00:40:44 +01:00
thomas jouannic
af3dcfde4c Include the "compute_image" datasource in the provider 2017-12-05 00:09:20 +01:00
thomas jouannic
81bb36333e Add tests for the "compute_image" datasource 2017-12-05 00:09:20 +01:00
thomas jouannic
95597bf022 Add the "compute_image" datasource 2017-12-04 23:43:17 +01:00
Vincent Roseberry
c9a06ebc58
Update CHANGELOG.md 2017-12-01 12:04:54 -08:00
Vincent Roseberry
0d2c0d72f3
Update CHANGELOG.md 2017-12-01 12:04:46 -08:00
Vincent Roseberry
12baa8766b
Add support for min_cpu_platform to instance_template (#808)
* Add support for min_cpu_platform to instance_template

* Set value in initializer

* Extract test min cpu platform value in a const
2017-12-01 12:03:19 -08:00
Paddy
41a952cdfa
Update CHANGELOG.md 2017-11-30 14:30:09 -08:00
Paddy
63df11e22b
Merge pull request #807 from terraform-providers/paddy_729_ns
Only handle root NS records special.
2017-11-30 14:28:42 -08:00
Vincent Roseberry
e2aefd246a
Move KMS resources docs into its own sub-menu (#812) 2017-11-30 13:12:06 -08:00
tf-release-bot
7f9ca83142 Cleanup after v1.3.0 release 2017-11-30 18:06:22 +00:00
tf-release-bot
3ea4835c6f
v1.3.0 2017-11-30 18:02:26 +00:00
Vincent Roseberry
aff87e976c
Add explanation for member field (#809) 2017-11-30 09:10:24 -08:00
Paddy
400a764f38 Clean up silly variable use. 2017-11-29 17:17:33 -08:00
Paddy
bb8725e513 Only handle root NS records special.
We introduced special handling for NS records in 1.2.0 under the
assumption that ALL NS records can't be deleted. This isn't actually
true. Only NS records for the naked domain of the managed zone can't be
removed; all other NS records can be. Because of this, 1.2.0 contains a
bug where all NS records are removed.

This update fixes the situation to only use special handling on NS
records that are for the naked root domain of the managed zone, and
treat all subdomain NS records as normal records. It also adds a test to
ensure this functionality.

Fixes #729.
2017-11-29 16:21:01 -08:00