This module is used to create an ECS service running phpmyadmin.
- Create target group for ALB to route based on hostname
- Create task definition and ECS service for phpmyadmin
- Create Cloudflare DNS record
example configuration:
provider "aws" {
region = var.aws_region
access_key = var.aws_access_key_id
secret_key = var.aws_secret_access_key
}
providers/cloudflare/cloudflare
example configuration using email and global API key:
provider "cloudflare" {
version = "~> 2.0"
email = var.cloudflare_email
api_key = var.cloudflare_api_key
account_id = var.cloudflare_account_id
}
example configuration using an API token:
provider "cloudflare" {
version = "~> 2.0"
api_token = var.cloudflare_token
account_id = var.cloudflare_account_id
}
example configuration:
provider "template" {
version = "~> 2.1"
}
A working example usage of this module is included in the source repository.
More information is available at the Terraform Registry