terraform-aws-appsync-api
Provides an AppSync GraphQL API with logging enabled
Note: Mulitple Authentication providers is not included in this module
Terraform versions
Terraform 0.12
Usage
module "test" {
source = "QuiNovas/appsync-api/aws"
authentication_type = "OPENID_CONNECT"
name = "test"
openid_connect_config = [{
issuer = "https://test.com"
auth_ttl = null
client_id = null
iat_ttl = null
}]
}
module "test" {
source = "QuiNovas/appsync-api/aws"
authentication_type = "API_KEY"
name = "test"
}
Inputs
Name | Description | Type | Default | Required |
---|---|---|---|---|
authentication_type | The authentication type. Valid values: API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECTd | string | yes | |
field_log_level | Field logging level. Valid values: ALL, ERROR, NONE. | string | "ERROR" |
no |
name | A user-supplied name for the GraphqlApi. | string | yes | |
openid_connect_config | Nested argument containing OpenID Connect configuration | list(object(string)) | [] |
no |
user_pool_config | The Amazon Cognito User Pool configuration | list(object(string)) | [] |
no |
Outputs
Name | Description |
---|---|
arn | The arn of the created appsync api |
id | The API ID |
uris | Map of URIs associated with the API |
Authors
Module managed by Quinovas (https://github.com/QuiNovas)
License
Apache License, Version 2.0, January 2004 (http://www.apache.org/licenses/). See LICENSE for full details.