provider/aws: Deprecate the usage of stage_key in favor of usage plans (#12883)

pull/12886/head
Gauthier Wallet 9 years ago committed by Paul Stack
parent 373324ed43
commit 6f6dddba67

@ -42,8 +42,9 @@ func resourceAwsApiGatewayApiKey() *schema.Resource {
},
"stage_key": {
Type: schema.TypeSet,
Optional: true,
Type: schema.TypeSet,
Optional: true,
Deprecated: "Since the API Gateway usage plans feature was launched on August 11, 2016, usage plans are now required to associate an API key with an API stage",
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"rest_api_id": {

@ -10,6 +10,8 @@ description: |-
Provides an API Gateway API Key.
~> **Warning:** Since the API Gateway usage plans feature was launched on August 11, 2016, usage plans are now **required** to associate an API key with an API stage.
## Example Usage
```

Loading…
Cancel
Save