Skip to content

Commit

Permalink
Add Apigee target server resource support (#8800)
Browse files Browse the repository at this point in the history
* Implement apigee target server resource

* fix : yaml format

* fix : add missing resource fields in test

* test : include more than one element in list

* docs : update descriptions and hcl example

* fix : add default value for protocol field

* test : add test step for omitting protocol field

* fix : replace default_value with default_from_api

* test : split clientAuthEnabled to seperate test

* Add comment explaining why acc test is skipped due to incompatibility with VCR

---------

Co-authored-by: Sarah French <[email protected]>
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician and SarahFrench committed Sep 7, 2023
1 parent 0f0b222 commit 98b3e2d
Show file tree
Hide file tree
Showing 6 changed files with 1,620 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/8800.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:new-resource
google_apigee_target_server
```
5 changes: 3 additions & 2 deletions google-beta/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -1094,9 +1094,9 @@ func DatasourceMapWithErrors() (map[string]*schema.Resource, error) {
})
}

// Generated resources: 378
// Generated resources: 379
// Generated IAM resources: 237
// Total generated resources: 615
// Total generated resources: 616
func ResourceMap() map[string]*schema.Resource {
resourceMap, _ := ResourceMapWithErrors()
return resourceMap
Expand Down Expand Up @@ -1158,6 +1158,7 @@ func ResourceMapWithErrors() (map[string]*schema.Resource, error) {
"google_apigee_nat_address": apigee.ResourceApigeeNatAddress(),
"google_apigee_organization": apigee.ResourceApigeeOrganization(),
"google_apigee_sync_authorization": apigee.ResourceApigeeSyncAuthorization(),
"google_apigee_target_server": apigee.ResourceApigeeTargetServer(),
"google_app_engine_application_url_dispatch_rules": appengine.ResourceAppEngineApplicationUrlDispatchRules(),
"google_app_engine_domain_mapping": appengine.ResourceAppEngineDomainMapping(),
"google_app_engine_firewall_rule": appengine.ResourceAppEngineFirewallRule(),
Expand Down
Loading

0 comments on commit 98b3e2d

Please sign in to comment.