Commit Graph

1921 Commits

Author SHA1 Message Date
Nathan McKinley
f50d4a19b4
New Resource: Dataflow Job (#855)
Add support for Google Dataflow jobs

Note: A dataflow job exists when it is in a nonterminal state, and does not exist if it
is in a terminal state (or a non-running state which can only transition into terminal
states).  See doc for more detail.
2018-01-10 14:38:15 -08:00
Dana Hoffman
0f80d7443f
Update CHANGELOG.md 2018-01-10 13:27:02 -08:00
Dana Hoffman
ad36333e64
Update CHANGELOG.md 2018-01-10 13:26:39 -08:00
sarunask
f07c332849 Cloud functions (#899)
* Initial commit

* Adding google_cloudfunction_function resource

* Some FMT updates

* Working Cloud Function Create/Delete/Get
Create is limited to gs:// source now.

* Fixed tests import

* Terraform now is able to apply and destroy function

* Fully working Basic test

* Added:
1. Allowed region check
2. readTimeout helper

* Found better solution for conflicting values

* Adding description

* Adding full basic test

* dded Update functionality

* Made few more optional params

* Added test for Labels

* Added update tests

* Added storage_* members and made function source deploy from storage bucket object

* Adding comments

* Adding tests for PubSub

* Adding tests for Bucket

* Adding Data provider

* Fixing bug which allowed to miss error

* Amending Operation retrieval

* Fixing vet errors and vendoring cloudfunctions/v1

* Fixing according to comments

* Fixing according to comments round #2

* Fixing tabs to space

* Fixing tabs to space and some comments #3

* Re-done update to include labels in one update with others

* Adding back default values. In case of such scenario, when user creates function with some values for "timeout" or "available_memory_mb", and then disables those attributes. Terraform plan then gives:
No changes. Infrastructure is up-to-date.
This is an error. By adding const we would avoid this error.

* Fixed MixedCase and more tabs
2018-01-10 13:25:43 -08:00
Vincent Roseberry
03cec5eb96
Update CHANGELOG.md 2018-01-10 11:27:43 -08:00
Jonathan Pentecost
e3b6e3ea8c google/resource_source_repos_repository: Export repository url (#943)
* google/resource_source_repos_repository: Export repository url

* website/docs/r/sourcerepo_repository: Update official documentation link
2018-01-10 11:26:16 -08:00
Vincent Roseberry
ddd9cebca3
Update CHANGELOG.md 2018-01-10 11:06:47 -08:00
Vincent Roseberry
3690926170
Support self_link from different project in dataproc network and subnetwork fields (#935) 2018-01-10 11:05:24 -08:00
Vincent Roseberry
812d1d5c5f
Update CHANGELOG.md 2018-01-10 10:53:04 -08:00
Vincent Roseberry
0569f41f3c
Upgrade terraform core to v0.11.2 (#940) 2018-01-10 10:52:15 -08:00
Vincent Roseberry
4bd526a4f6
Deprecate the policy_data field of the google_service_account (#942) 2018-01-10 10:44:01 -08:00
Vincent Roseberry
6f742d2aaa
Point service account docs to new iam resources (#941) 2018-01-10 10:08:23 -08:00
Vincent Roseberry
15ff260933
Update CHANGELOG.md 2018-01-09 13:58:43 -08:00
Vincent Roseberry
da3a6f13a1
Infers region from zone before using the provider-level region (#938) 2018-01-09 13:57:02 -08:00
Vincent Roseberry
9ccbf1f104
Update CHANGELOG.md 2018-01-09 09:40:01 -08:00
Vincent Roseberry
6ba6dfa6d2
Ensures operation on a cluster are applied serially (#937) 2018-01-09 12:39:04 -05:00
Dana Hoffman
0de64dd196
Update CHANGELOG.md 2018-01-08 15:55:36 -08:00
Dana Hoffman
585c734503
Set default scopes when creating GKE clusters/node pools (#924)
* set scopes by default

* clarify list -> list/set
2018-01-08 15:54:45 -08:00
Vincent Roseberry
923b1e8e7c
Update CHANGELOG.md 2018-01-08 15:16:20 -08:00
Quinn Vallance
5a557546a7 Add google_logging_organization_sink resource (#923)
* Add google_logging_organization_sink resource

* cleanup
2018-01-08 18:15:30 -05:00
Piyush Mishra
de23b59463 Fix a typo in error message (#928) 2018-01-08 12:49:30 -08:00
James McGill
a3352655ac Ensure Elem is always either a *Schema or *Resource (#929)
* Ensure Elem is always either a *Schema or *Resource

* Revert vendor file
2018-01-08 12:48:26 -08:00
Nathan McKinley
a767b11593
Revendor servicemanagement API. (#921) 2018-01-04 17:26:30 -08:00
Vincent Roseberry
98a5c4b031
Update CHANGELOG.md 2018-01-04 16:18:58 -05:00
Vincent Roseberry
0252501cd4
Don't access attributes on a nil object (#918) 2018-01-04 16:17:03 -05:00
Vincent Roseberry
c77f15c296
Improve documentation around instance scopes (#917) 2018-01-04 13:31:27 -05:00
Dana Hoffman
5e284316a7
Update CHANGELOG.md 2018-01-03 14:10:19 -08:00
Dana Hoffman
5bf56797f7
make provider-wide region optional (#916) 2018-01-03 14:09:46 -08:00
Dana Hoffman
437b1beb2e
Update project to be optional, add info about zone (#915) 2018-01-03 13:33:58 -08:00
Vincent Roseberry
1cd80dcaa0
Update documentation of forwarding rules (#911)
* Add information about constraints on port ranges based on fwd target for fwd rules
2018-01-03 16:21:45 -05:00
Vincent Roseberry
692689f0f6
Update CHANGELOG.md 2018-01-03 16:21:17 -05: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
52462382c9
Refactor import tests for the remaining compute resources (#909)
* Improve instance group manager import tests

* Improe instance template & project metadata import test

* Improve region autoscaler import test

* Improve router interface import test

* Improve router peer import test

* Improve SSL certs import test

* Improve http & https target proxy import tests

* Improve target pool import test

* Improve url map import test

* Improve target ssl & tcp proxy import test

* Add import test for instance template disk
2018-01-03 09:26:55 -05:00
Vincent Roseberry
835bff14e6
Update CHANGELOG.md 2018-01-02 16:32:00 -05:00
thomas
0e62b71410 Update "service_account_key" docs (#908)
By removing the inexistant "fingerprint" property and specifying that
the private key fingerprint only exists when using PGP.
2018-01-02 16:30:02 -05:00
Vincent Roseberry
999ae08957
Fix flatten IAP and improve import test (#907) 2018-01-02 15:47:28 -05:00
Vincent Roseberry
c631d7e3ec
Remove documentation about removed region field in backend service (#906) 2018-01-02 14:21:26 -05:00
Vincent Roseberry
d9f3e6b249
Add unit test for the self link diff suppress function (#904) 2018-01-02 14:21:04 -05:00
Vincent Roseberry
283c8f89e3
Delete unused methods (#905) 2018-01-02 14:15:13 -05:00
Dana Hoffman
fa58e0aa66
Update CHANGELOG.md 2017-12-27 12:30:00 -08:00
Michael Bannister
18534c9e7d Don't recreate container_cluster when maintenance_window changes (#893)
* Don't recreate container_cluster when maintenance_window changes

Fixes #727

* Omit ForceNew when false

Review comments for PR #893

* Move MaintenancePolicy mapping logic into expand/flatten functions

Review comments for PR #893

* Improve acceptance test for maintenance window update/removal

Review comments for PR #893
2017-12-27 12:29:14 -08:00
Vincent Roseberry
f15d66f28a
Remove noisy log statement (#896)
* Remove noisy log statement

* Remove unused import
2017-12-22 16:49:01 -08:00
Dana Hoffman
d8e5dc8efc
Update CHANGELOG.md 2017-12-22 13:24:39 -08:00
Nick Jacques
46cc5b7d84 WIP: Add "internal IP only" support for Dataproc clusters (#837)
* Add internalIpOnly support for Dataproc clusters

* Add internal_ip_only to dataproc cluster docs

* Add default/basic dataproc internal ip test case

* Add test for dataproc internal_ip_only=true

* fixup cluster_config.gce_cluster_config to include .0.

* Remove redundant depends_on

* Add %s rnd to network and subnetwork

* Use variable for subnet CIDR and reference via source_ranges

* Add depends_on back to dataproc cluster test

* Fix cluster attribute refs (.0. again)
2017-12-22 13:24:05 -08:00
Vincent Roseberry
bdb7d5d8ed
Update CHANGELOG.md 2017-12-21 16:13:15 -08:00
Kit Ewbank
49a0008643 Add 'google_organization' data source (#887)
* Add 'google_organization' data source.

* Use 'GetResourceNameFromSelfLink'.

* Remove 'resourcemanager_helpers'.

* Use 'ConflictsWith' in schema.

* Add 'organization' argument and make 'name' an output-only attribute.
2017-12-21 16:12:44 -08:00
Vincent Roseberry
72ee97e142
Update CHANGELOG.md 2017-12-21 16:10:46 -08:00
Kit Ewbank
a086e70e79 Add 'google_billing_account' data source (#889)
* Add 'google_billing_account' data source.

* Use 'GetResourceNameFromSelfLink'.

* Use 'ConflictsWith' in schema.

* Use pagination for List() API call.

* Add ability to filter by 'open' attribute.

* Don't use 'ForceNew' for data sources.

* Add 'billing_account' argument and make 'name' an output-only attribute.

* Correct error message.
2017-12-21 16:09:58 -08:00
Vincent Roseberry
5498a33d1b
Update CHANGELOG.md 2017-12-21 10:02:44 -08: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