https://github.com/snaka/ecsprestack-infra-example
This repository is an EXAMPLE of an infrastructure configuration for simple deployment using `ecspresso` and `ecschedule`.
https://github.com/snaka/ecsprestack-infra-example
ecschedule ecspresso ecsprestack example
Last synced: 10 days ago
JSON representation
This repository is an EXAMPLE of an infrastructure configuration for simple deployment using `ecspresso` and `ecschedule`.
- Host: GitHub
- URL: https://github.com/snaka/ecsprestack-infra-example
- Owner: snaka
- License: mit
- Created: 2023-08-28T12:19:09.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-30T23:43:40.000Z (about 2 years ago)
- Last Synced: 2026-01-17T18:01:03.883Z (25 days ago)
- Topics: ecschedule, ecspresso, ecsprestack, example
- Language: HCL
- Homepage:
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ecsprestack-infra-example
This repository is an EXAMPLE of an infrastructure configuration for simple deployment using `ecspresso` and `ecschedule`.
Some people refer to a deployment strategy utilizing `ecspresso` + `ecschedule` as `ecsprestack`.
## Permission
The permissions required to apply this Terraform are as follows
```json
{
"Statement": [
{
"Action": [
"ec2:*",
"elasticloadbalancing:*",
"ecs:*",
"logs:*",
"iam:CreateRole",
"iam:GetRole",
"iam:TagRole",
"iam:ListRolePolicies",
"iam:ListAttachedRolePolicies",
"iam:ListInstanceProfilesForRole",
"iam:DeleteRole",
"iam:AttachRolePolicy",
"iam:PutRolePolicy",
"iam:DeleteRolePolicy",
"iam:DetachRolePolicy",
"iam:GetRolePolicy",
"rds:*",
"ssm:*"
],
"Effect": "Allow",
"Resource": "*"
}
],
"Version": "2012-10-17"
}
```
## Variables
These variables are required to apply this Terraform.
| Name | Description |
|------|-------------|
| `db_password` | root password for DB (**must be 8 characters or more**) |
| `db_username` | Username for DB |
| `secret_key_base` | Secret key base for Rails application |
You can set these variables in `*.tfvars` file or Terraform Cloud workspace settings.
## Related Project
- https://github.com/snaka/ecsprestack-app-example