https://github.com/silinternational/terraform-aws-phpmyadmin
Terraform module to create an ECS service running phpMyAdmin
https://github.com/silinternational/terraform-aws-phpmyadmin
Last synced: 4 months ago
JSON representation
Terraform module to create an ECS service running phpMyAdmin
- Host: GitHub
- URL: https://github.com/silinternational/terraform-aws-phpmyadmin
- Owner: silinternational
- License: mit
- Created: 2021-02-09T17:48:20.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-15T04:11:35.000Z (9 months ago)
- Last Synced: 2025-01-14T21:47:16.141Z (6 months ago)
- Language: HCL
- Size: 24.4 KB
- Stars: 1
- Watchers: 5
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# terraform-aws-pma
This module is used to create an ECS service running phpmyadmin.## What this does
- Create target group for ALB to route based on hostname
- Create task definition and ECS service for phpmyadmin
- Create Cloudflare DNS record## Provider dependencies
### aws
[providers/hashicorp/aws](https://registry.terraform.io/providers/hashicorp/aws)
example configuration:
```hcl
provider "aws" {
region = var.aws_region
access_key = var.aws_access_key_id
secret_key = var.aws_secret_access_key
}
```### cloudflare
[providers/cloudflare/cloudflare](https://registry.terraform.io/providers/cloudflare/cloudflare)
example configuration using email and global API key:
```hcl
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:
```hcl
provider "cloudflare" {
version = "~> 2.0"
api_token = var.cloudflare_token
account_id = var.cloudflare_account_id
}
```### template
[providers/hashicorp/template](https://registry.terraform.io/providers/hashicorp/template)
example configuration:
```hcl
provider "template" {
version = "~> 2.1"
}
```## Example
A working [example](https://github.com/silinternational/terraform-aws-phpmyadmin/tree/main/example) usage of this module is included in the source repository.
## More info
More information is available at the [Terraform Registry](https://registry.terraform.io/modules/silinternational/phpmyadmin/aws/latest)