Skip to content

Commit

Permalink
Add support for type in ApigeeEnvironment; remove obsolete broken test (
Browse files Browse the repository at this point in the history
  • Loading branch information
xuchenma authored Oct 24, 2023
1 parent a67d6a3 commit 127027f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 187 deletions.
15 changes: 14 additions & 1 deletion mmv1/products/apigee/Environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ examples:
# Resource creation race
skip_vcr: true
- !ruby/object:Provider::Terraform::Examples
name: 'apigee_environment_nodeconfig_test'
name: 'apigee_environment_type_test'
primary_resource_id: 'apigee_environment'
primary_resource_name: "fmt.Sprintf(\"organizations/tf-test%s\",
context[\"random_suffix\"\
Expand Down Expand Up @@ -184,3 +184,16 @@ properties:
The current total number of gateway nodes that each environment currently has across
all instances.
output: true
- !ruby/object:Api::Type::Enum
name: 'type'
description: |
Types that can be selected for an Environment. Each of the types are
limited by capability and capacity. Refer to Apigee's public documentation
to understand about each of these types in details.
An Apigee org can support heterogeneous Environments.
default_from_api: true
values:
- 'ENVIRONMENT_TYPE_UNSPECIFIED'
- 'BASE'
- 'INTERMEDIATE'
- 'COMPREHENSIVE'
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,5 @@ resource "google_apigee_environment" "<%= ctx[:primary_resource_id] %>" {
name = "tf-test%{random_suffix}"
description = "Apigee Environment"
display_name = "tf-test%{random_suffix}"
node_config {
min_node_count = "3"
max_node_count = "5"
}
type = "COMPREHENSIVE"
}

This file was deleted.

0 comments on commit 127027f

Please sign in to comment.