Commit Graph

150 Commits

Author SHA1 Message Date
The Magician
7d309fce05 [Terraform] new option "scopes" to define OAuth scopes for provider (#2888)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-01-23 16:35:17 -08:00
The Magician
738bdb9aac Initial autogeneration of Spanner instance in Terraform. (#2892)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-01-22 12:35:59 -08:00
The Magician
30fe927df6 Data Sources for KMS Key Ring and Key (#2891)
<!-- This change is generated by MagicModules. -->
/cc @kierachell
2019-01-17 16:12:22 -08:00
The Magician
54dd3ad6e4 Skip acceptance tests during non-acceptance runs. (#2852)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-01-09 18:46:59 -08:00
The Magician
b9cedc68ef Add OAuth2 access_token and client config as credential options. (#2838)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-01-09 16:20:07 -08:00
The Magician
f08a492cd5 Capitalization changes in generated resources (#2846)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2019-01-09 13:42:12 -08:00
The Magician
4ecc56a301 Autogenerate google_cloudbuild_trigger (#2790) 2019-01-04 13:47:52 -08:00
The Magician
181dafe6d7 Autogenerate google_sourcerepo_repository (#2797) 2019-01-03 16:53:43 -08:00
The Magician
ff66afb6e8 Add Appengine's firewall rules. (#2738) 2019-01-02 16:44:08 -08:00
The Magician
692d36cb3f Initial addition of generated Image to Terraform. (#2769) 2019-01-02 16:05:38 -08:00
The Magician
4768f3dd47 Add fine-grained audit config for projects. (#2731) 2018-12-21 15:39:58 -08:00
The Magician
4f298a29d2 Add resource_storage_transfer_job (#2707)
<!-- This change is generated by MagicModules. -->
/cc @akramhussein
2018-12-20 17:22:22 -08:00
The Magician
ccd73f3bb6 fix disk behaivor in compute_instance_from_template (#2695) 2018-12-20 17:22:22 -08:00
The Magician
23b44b5ae5 Add google_storage_transfer_project_service_account data_source (#2692)
<!-- This change is generated by MagicModules. -->
/cc @akramhussein
2018-12-20 17:22:22 -08:00
The Magician
afc340e93e Remove duplicates from provider resource map, add dupe test (#2683)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
The Magician
c605b0bc4b [Terraform]: Apply gofmt -s to all files managed by MM (#2676)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
The Magician
593156e918 Add data source for cloud bucket object (#2657)
<!-- This change is generated by MagicModules. -->
/cc @chrisst
2018-12-20 17:22:22 -08:00
The Magician
8dec82d35f Deprecate convenience fields in google_compute_snapshot (#2572)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2018-12-20 17:22:22 -08:00
The Magician
eb843f67e0 Add router nat resource. For TPG #2249. (#2576) 2018-12-20 17:22:22 -08:00
Manuel Correa
cefb6c6566 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-20 17:22:22 -08:00
The Magician
5928101e2f Add billing account IAM (#2413) 2018-12-20 17:22:22 -08:00
The Magician
49d8a888d7 Start autogenerating resource_dns_managed_zone (#2428)
<!-- This change is generated by MagicModules. -->
/cc @drebes
2018-12-20 17:22:22 -08:00
Ben Vickers
e9ac055363 Add the sql ssl (client) cert resource (#2290)
* add the sql client cert resource

* correct schema ordering for sql ssl cert resource
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
Chris Stephens
35d6d71cd7 Remove beta resources to fix build 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
Nathan McKinley
902675c324 Reverting 1.20 and 1.19 cherrypick branches. 2018-12-20 17:22:22 -08:00
The Magician
e07e1ba4e8 Add router nat resource. For TPG #2249. (#2576) 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
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
7e5749ad35 Add support for google_storage_object_access_control (#2256) 2018-12-12 17:23:35 -08:00
Chris Stephens
ba088fa113
Add the moitoring top level resource (#2148)
* Add the moitoring top level resource

* Add stackdriver monitoring to the website
2018-10-03 19:09:24 -04:00
Paddy Carver
9ceb644460 Add google_app_engine_application resource.
Deprecate the app_engine sub-block of google_project, and create a
google_app_engine_application resource instead. Also, add some tests for
its behaviour, as well as some documentation for it.

Note that this is largely an implementation of the ideas discussed in
 #2118, except we're not using CustomizeDiff to reject deletions without
our special flag set, because CustomizeDiff apparently doesn't run on
Delete. Who knew? This leaves us rejecting the deletion at apply time,
which is less than ideal, but the only other option I see is to silently
not delete the resource, and that's... not ideal, either.

This also stops the app_engine sub-block on google_project from forcing
new when it's removed, and sets it to computed, so users can safely move
from using the sub-block to using the resource without state surgery or
deleting their entire project. This does mean it's impossible to delete
an App Engine application from a sub-block now, but seeing as that was
the same situation before, and we just papered over it by making the
project recreate itself in that situation, and people Were Not Fans of
that, I'm considering that an acceptable casualty.
2018-10-02 02:59:17 -07:00
The Magician
0790c96cac Implement Filestore Instance. (#2088) 2018-09-21 18:01:22 -07:00
Riley Karson
d656e9139a
Add a datasource for google_compute_instance (#1906)
* Add a compute datasource.

* Add provider changes.

* Add self_link support to google_compute_instance datasource.

* Error check complex d.Set calls.
2018-09-18 09:02:48 -07:00
emily
017f2f9b54
Add Cloud Composer Environments resource (#2001)
Adds Cloud Composer Environment resource and test sweeper
2018-09-11 13:13:11 -07:00
Chris Stephens
afcbb859ca
Attached disk resource (#1957)
* Adding resource_attached_disk

This is a resource which will allow joining a arbitrary compute disk
to a compute instance. This will enable dynamic numbers of disks to
be associated by using counts.
2018-09-11 13:08:14 -07:00
emily
96b17536b9
Initial TF commits needed for cloud composer support (#1926)
* add cloud composer vendor

* init composer client and resource map
2018-08-22 15:59:05 -07:00
The Magician
3ff7ccca7c Add Policy, Attestor, and Note resources for Binary Authorization (#1885)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-08-20 16:46:13 -07:00
Christoph Blecker
60dc8bccad Add google_project_services data source (#1822) 2018-08-15 15:45:54 -07:00
Dana Hoffman
7e04cee958
add new compute_instance_from_template resource (#1652)
This was done as its own resource as suggested in slack, since we don't have the option of making all fields Computed in google_compute_instance. There's precedent in the aws provider for this sort of thing (see ami_copy, ami_from_instance).

When I started working on this I assumed I could do it in the compute_instance resource and so I went ahead and reordered the schema to make it easier to work with in the future. Now it's not quite relevant, but I left it in as its own commit that can be looked at separately from the other changes.

Fixes #1582.
2018-06-28 16:09:23 -07:00
Sébastien GLON
d766990ce9 Add new google_compute_regions (#1603)
* Add new google_compute_regions

* Add docs

* correct doc
2018-06-07 09:52:12 -07:00
Tenorio Orta JM
6864f1f9e5 Added GCP Netblock Data Source (#1416) (#1580)
* Added GCP Netblock Data Source (#1416)

* Added docs for google_netblock_ip_ranges (#1416)

* Code review changes (#1416)
2018-06-04 16:31:09 -07:00
Jonathan Pentecost
8f31fec857 New datasource: service account and service account key (#1535) 2018-05-31 17:31:45 -07:00
Dana Hoffman
bc8f3046ad
initial tf changes needed to support redis (#1513) 2018-05-21 12:01:06 -07:00
Christoph Tavan
0bcb01266c Add google_logging_project_exclusion resource (#990)
Adds support for log exclusions in billingAccounts, organizations,
folders and projects, see:
https://cloud.google.com/logging/docs/exclusions

```
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./google -v -run=Exclusion -timeout 120m
=== RUN   TestAccLoggingBillingAccountExclusion_basic
=== PAUSE TestAccLoggingBillingAccountExclusion_basic
=== RUN   TestAccLoggingBillingAccountExclusion_update
=== PAUSE TestAccLoggingBillingAccountExclusion_update
=== RUN   TestAccLoggingFolderExclusion_basic
=== PAUSE TestAccLoggingFolderExclusion_basic
=== RUN   TestAccLoggingFolderExclusion_folderAcceptsFullFolderPath
=== PAUSE TestAccLoggingFolderExclusion_folderAcceptsFullFolderPath
=== RUN   TestAccLoggingFolderExclusion_update
=== PAUSE TestAccLoggingFolderExclusion_update
=== RUN   TestAccLoggingOrganizationExclusion_basic
=== PAUSE TestAccLoggingOrganizationExclusion_basic
=== RUN   TestAccLoggingOrganizationExclusion_update
=== PAUSE TestAccLoggingOrganizationExclusion_update
=== RUN   TestAccLoggingProjectExclusion_basic
=== PAUSE TestAccLoggingProjectExclusion_basic
=== RUN   TestAccLoggingProjectExclusion_disablePreservesFilter
=== PAUSE TestAccLoggingProjectExclusion_disablePreservesFilter
=== RUN   TestAccLoggingProjectExclusion_update
=== PAUSE TestAccLoggingProjectExclusion_update
=== CONT  TestAccLoggingBillingAccountExclusion_basic
=== CONT  TestAccLoggingOrganizationExclusion_update
=== CONT  TestAccLoggingProjectExclusion_update
=== CONT  TestAccLoggingFolderExclusion_folderAcceptsFullFolderPath
=== CONT  TestAccLoggingOrganizationExclusion_basic
--- PASS: TestAccLoggingProjectExclusion_update (3.60s)
--- PASS: TestAccLoggingOrganizationExclusion_update (4.40s)
=== CONT  TestAccLoggingFolderExclusion_update
--- PASS: TestAccLoggingOrganizationExclusion_basic (1.90s)
=== CONT  TestAccLoggingFolderExclusion_basic
--- PASS: TestAccLoggingBillingAccountExclusion_basic (6.21s)
=== CONT  TestAccLoggingBillingAccountExclusion_update
--- PASS: TestAccLoggingBillingAccountExclusion_update (5.90s)
=== CONT  TestAccLoggingProjectExclusion_disablePreservesFilter
--- PASS: TestAccLoggingProjectExclusion_disablePreservesFilter (3.90s)
=== CONT  TestAccLoggingProjectExclusion_basic
--- PASS: TestAccLoggingFolderExclusion_folderAcceptsFullFolderPath (16.67s)
--- PASS: TestAccLoggingProjectExclusion_basic (1.96s)
--- PASS: TestAccLoggingFolderExclusion_basic (15.30s)
--- PASS: TestAccLoggingFolderExclusion_update (18.35s)
PASS
ok  	github.com/terraform-providers/terraform-provider-google/google	22.810s
```
2018-05-18 08:55:04 -07:00
The Magician
56481d8316 Add liens resource. (#1484) 2018-05-17 16:33:30 -07:00
Rene Kroon
dda26771d3 #843: Add policy support to storage buckets (#1190) 2018-05-08 14:00:48 -07:00