Skip to content

Latest commit

 

History

History
39 lines (35 loc) · 4.46 KB

io.md

File metadata and controls

39 lines (35 loc) · 4.46 KB

Inputs

Name Description Type Default Required
access_token Personal access token for a third-party source string "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" no
amplify_app_environment_variables The environment variables for the Amplify app map(string) {} no
amplify_enabled Flag to control the amplify creation. bool true no
amplify_repository The repository for the Amplify app string "https://github.com/clouddrove-sandbox/terraform-aws-amplify-app" no
auto_branch_creation_config The automated branch creation configuration for the Amplify app
object({
basic_auth_credentials = optional(string)
build_spec = optional(string)
enable_auto_build = optional(bool)
enable_basic_auth = optional(bool)
enable_performance_mode = optional(bool)
enable_pull_request_preview = optional(bool)
environment_variables = optional(map(string))
framework = optional(string)
pull_request_environment_name = optional(string)
stage = optional(string)
})
null no
auto_branch_creation_patterns The automated branch creation glob patterns for the Amplify app list(string) [] no
backend_enable Enables backend environment creation for the Amplify app bool false no
branches n/a
object({
branch_name = string
framework = optional(string)
display_name = optional(string)
description = optional(string)
stage = optional(string)
enable_auto_build = optional(bool)
ttl = optional(number)
enable_performance_mode = optional(bool)
enable_pull_request_preview = optional(bool)
environment_variables = optional(map(string))
})
n/a yes
build_spec The build specification (build spec) for the Amplify app.
If not provided then it will use the amplify.yml at the root of your project / branch.
string null no
custom_rules The custom rules to apply to the Amplify App
list(object({
condition = optional(string)
source = string
status = optional(string)
target = string
}))
[] no
deployment_artifacts Name of deployment artifacts. string "app-example-deployment" no
description The description for the Amplify app string null no
domain_name Domain name for the domain association. list(any) [] no
enable_auto_branch_creation Enables automated branch creation for the Amplify app bool false no
enable_basic_auth Enables basic authorization for the Amplify app.
This will apply to all branches that are part of this app.
bool false no
enable_branch_auto_build Enables auto-building of branches for the Amplify App bool true no
enable_branch_auto_deletion Automatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository bool false no
environment Environment (e.g. prod, dev, staging). string "" no
environment_name Amplify environment name for the pull request. string "prod" no
label_order Label order, e.g. name,application. list(any) [] no
managedby ManagedBy, eg 'CloudDrove' string "hello@clouddrove.com" no
name Name (e.g. app or cluster). string "" no
oauth_token The OAuth token for a third-party source control system for the Amplify app.
The OAuth token is used to create a webhook and a read-only deploy key.
The OAuth token is not stored.
string null no
platform The platform or framework for the Amplify app string "WEB" no
stack_name AWS CloudFormation stack name of a backend environment. string "amplify-app-example" no
sub_domain_prefix_name Prefix setting for the subdomain. string "scam" no

Outputs

Name Description
arn Amplify App ARN
default_domain Amplify App domain (non-custom)
name Amplify App name