Skip to content

Commit

Permalink
👍 update
Browse files Browse the repository at this point in the history
  • Loading branch information
shun198 committed Aug 18, 2024
1 parent 2c5b4f5 commit 7ddce5f
Show file tree
Hide file tree
Showing 38 changed files with 171 additions and 171 deletions.
38 changes: 19 additions & 19 deletions ecs/taskdef.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"taskDefinitionArn": "arn:aws:ecs:ap-northeast-1:044392971793:task-definition/my-project-dev-back-taskdef:18",
"taskDefinitionArn": "arn:aws:ecs:ap-northeast-1:044392971793:task-definition/shun198-dev-back-taskdef:18",
"containerDefinitions": [
{
"name": "web",
Expand Down Expand Up @@ -41,9 +41,9 @@
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/my-project/dev/back/nginx",
"awslogs-group": "/ecs/shun198/dev/back/nginx",
"awslogs-region": "ap-northeast-1",
"awslogs-stream-prefix": "my-project"
"awslogs-stream-prefix": "shun198"
},
"secretOptions": []
},
Expand Down Expand Up @@ -78,43 +78,43 @@
"secrets": [
{
"name": "POSTGRES_NAME",
"valueFrom": "arn:aws:ssm:ap-northeast-1:044392971793:parameter/my-project/dev/POSTGRES_NAME"
"valueFrom": "arn:aws:ssm:ap-northeast-1:044392971793:parameter/shun198/dev/POSTGRES_NAME"
},
{
"name": "POSTGRES_USER",
"valueFrom": "arn:aws:ssm:ap-northeast-1:044392971793:parameter/my-project/dev/POSTGRES_USER"
"valueFrom": "arn:aws:ssm:ap-northeast-1:044392971793:parameter/shun198/dev/POSTGRES_USER"
},
{
"name": "POSTGRES_PASSWORD",
"valueFrom": "arn:aws:ssm:ap-northeast-1:044392971793:parameter/my-project/dev/POSTGRES_PASSWORD"
"valueFrom": "arn:aws:ssm:ap-northeast-1:044392971793:parameter/shun198/dev/POSTGRES_PASSWORD"
},
{
"name": "POSTGRES_PORT",
"valueFrom": "arn:aws:ssm:ap-northeast-1:044392971793:parameter/my-project/dev/POSTGRES_PORT"
"valueFrom": "arn:aws:ssm:ap-northeast-1:044392971793:parameter/shun198/dev/POSTGRES_PORT"
},
{
"name": "POSTGRES_HOST",
"valueFrom": "arn:aws:ssm:ap-northeast-1:044392971793:parameter/my-project/dev/POSTGRES_HOST"
"valueFrom": "arn:aws:ssm:ap-northeast-1:044392971793:parameter/shun198/dev/POSTGRES_HOST"
},
{
"name": "SECRET_KEY",
"valueFrom": "arn:aws:ssm:ap-northeast-1:044392971793:parameter/my-project/dev/SECRET_KEY"
"valueFrom": "arn:aws:ssm:ap-northeast-1:044392971793:parameter/shun198/dev/SECRET_KEY"
},
{
"name": "ALLOWED_HOSTS",
"valueFrom": "arn:aws:ssm:ap-northeast-1:044392971793:parameter/my-project/dev/ALLOWED_HOSTS"
"valueFrom": "arn:aws:ssm:ap-northeast-1:044392971793:parameter/shun198/dev/ALLOWED_HOSTS"
},
{
"name": "AWS_DEFAULT_REGION_NAME",
"valueFrom": "arn:aws:ssm:ap-northeast-1:044392971793:parameter/my-project/dev/AWS_DEFAULT_REGION_NAME"
"valueFrom": "arn:aws:ssm:ap-northeast-1:044392971793:parameter/shun198/dev/AWS_DEFAULT_REGION_NAME"
},
{
"name": "TRUSTED_ORIGINS",
"valueFrom": "arn:aws:ssm:ap-northeast-1:044392971793:parameter/my-project/dev/TRUSTED_ORIGINS"
"valueFrom": "arn:aws:ssm:ap-northeast-1:044392971793:parameter/shun198/dev/TRUSTED_ORIGINS"
},
{
"name": "DJANGO_SETTINGS_MODULE",
"valueFrom": "arn:aws:ssm:ap-northeast-1:044392971793:parameter/my-project/dev/DJANGO_SETTINGS_MODULE"
"valueFrom": "arn:aws:ssm:ap-northeast-1:044392971793:parameter/shun198/dev/DJANGO_SETTINGS_MODULE"
}
],
"dnsServers": [],
Expand All @@ -126,18 +126,18 @@
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/my-project/dev/back/django",
"awslogs-group": "/ecs/shun198/dev/back/django",
"awslogs-region": "ap-northeast-1",
"awslogs-stream-prefix": "my-project"
"awslogs-stream-prefix": "shun198"
},
"secretOptions": []
},
"systemControls": []
}
],
"family": "my-project-dev-back-taskdef",
"taskRoleArn": "arn:aws:iam::044392971793:role/service-role/ECSTaskRole-my-project-dev",
"executionRoleArn": "arn:aws:iam::044392971793:role/service-role/ECSTaskExecutionRole-my-project-dev",
"family": "shun198-dev-back-taskdef",
"taskRoleArn": "arn:aws:iam::044392971793:role/service-role/ECSTaskRole-shun198-dev",
"executionRoleArn": "arn:aws:iam::044392971793:role/service-role/ECSTaskExecutionRole-shun198-dev",
"networkMode": "awsvpc",
"revision": 18,
"volumes": [
Expand Down Expand Up @@ -197,7 +197,7 @@
"tags": [
{
"key": "ProjectName",
"value": "my-project"
"value": "shun198"
},
{
"key": "Environment",
Expand Down
4 changes: 2 additions & 2 deletions templates/certificates/acm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ Metadata:
# -------------------------------------
Parameters:
ProjectName:
Description: "Enter the project name. (ex: my-project)"
Description: "Enter the project name. (ex: shun198)"
Type: String
MinLength: 1
ConstraintDescription: "ProjectName must be entered."
Default: my-project
Default: shun198
Environment:
Description: "Select a environment name."
Type: String
Expand Down
24 changes: 12 additions & 12 deletions templates/ci_cd/codepipeline-for-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ Metadata:
# -------------------------------------
Parameters:
ProjectName:
Description: "Enter the project name. (ex: my-project)"
Description: "Enter the project name. (ex: shun198)"
Type: String
MinLength: 1
ConstraintDescription: "ProjectName must be enter."
Default: my-project
Default: shun198
Environment:
Description: "Select the environment."
Type: String
Expand Down Expand Up @@ -96,18 +96,18 @@ Parameters:
Type: String
Default: codedeploy/appspec.yml
ECRBackEndDjangoRepositoryName:
Description: "Enter the ECR backend application repository name. (ex: my-project/dev/back/django)"
Description: "Enter the ECR backend application repository name. (ex: shun198/dev/back/django)"
Type: String
Default: my-project/dev/back/django
Default: shun198/dev/back/django
ECRBackEndNginxRepositoryName:
Description: "Enter the ECR backend webserver repository name. (ex: my-project/dev/back/nginx)"
Description: "Enter the ECR backend webserver repository name. (ex: shun198/dev/back/nginx)"
Type: String
Default: my-project/dev/back/nginx
Default: shun198/dev/back/nginx
CodeDeployApplicationName:
Description: "Enter the CodeDeploy application name. (ex: my-project-dev-cdapp)"
Description: "Enter the CodeDeploy application name. (ex: shun198-dev-cdapp)"
Type: String
CodeDeployDeploymentGroupName:
Description: "Enter the CodeDeploy deployment group name. (ex: my-project-dev-cdg)"
Description: "Enter the CodeDeploy deployment group name. (ex: shun198-dev-cdg)"
Type: String
CodeDeployDeploymentConfigName:
Description: "Enter the CodeDeploy deployment config name."
Expand All @@ -119,16 +119,16 @@ Parameters:
- CodeDeployDefault.ECSCanary10Percent15Minutes
- CodeDeployDefault.ECSAllAtOnce
ECSClusterName:
Description: "Enter the ECS cluster name. (ex: my-project-dev-cluster)"
Description: "Enter the ECS cluster name. (ex: shun198-dev-cluster)"
Type: String
ECSServiceName:
Description: "Enter the ECS cluster name. (ex: my-project-dev-back-service)"
Description: "Enter the ECS cluster name. (ex: shun198-dev-back-service)"
Type: String
ALBTargetGroupBlueName:
Description: "Enter the ALB Target Group Name for Blue / Green Deployment. (ex: my-project-dev-tg-blue)"
Description: "Enter the ALB Target Group Name for Blue / Green Deployment. (ex: shun198-dev-tg-blue)"
Type: String
ALBTargetGroupGreenName:
Description: "Enter the ALB Target Group Name for Blue / Green Deployment. (ex: my-project-dev-tg-green)"
Description: "Enter the ALB Target Group Name for Blue / Green Deployment. (ex: shun198-dev-tg-green)"
Type: String
ALBProductionListenerArn:
Description: "Enter the ALB Production Listener ARN for Blue / Green Deployment."
Expand Down
8 changes: 4 additions & 4 deletions templates/ci_cd/codepipeline-for-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ Metadata:
# -------------------------------------
Parameters:
ProjectName:
Description: 'Enter the project name (ex: my-project)'
Description: 'Enter the project name (ex: shun198)'
Type: String
MinLength: 1
ConstraintDescription: 'ProjectName must be enter'
Default: my-project
Default: shun198
Environment:
Description: 'Select the environment'
Type: String
Expand All @@ -52,10 +52,10 @@ Parameters:
- develop
- main
SSMParameterStoreForBackendServerURL:
Description: 'Enter the parameter store name with backend server URL for API connection (ex: /my-project/back/dev/NEXT_PUBLIC_BACK_SRV_URL)'
Description: 'Enter the parameter store name with backend server URL for API connection (ex: /shun198/back/dev/NEXT_PUBLIC_BACK_SRV_URL)'
Type: String
CodeDeployTargetBucketName:
Description: 'Enter the S3 bucket name for CodeDeploy deployment target (ex: my-project-dev-assets-with-origin-access-control-XXXXXXXX)'
Description: 'Enter the S3 bucket name for CodeDeploy deployment target (ex: shun198-dev-assets-with-origin-access-control-XXXXXXXX)'
Type: String
CodeStarConnectionArn:
Description: 'Enter the CodeStar connection ARN. (ex: arn:aws:codestar-connections:<aws_region>:<aws_account_id>:connection/<connection_id>)'
Expand Down
4 changes: 2 additions & 2 deletions templates/common/factory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ Parameters:
# Project
# -------------------------------------
ProjectName:
Description: "Enter the project name. (ex: my-project)"
Description: "Enter the project name. (ex: shun198)"
Type: String
MinLength: 1
ConstraintDescription: "ProjectName must be enter."
Default: my-project
Default: shun198
Environment:
Description: "Select the environment."
Type: String
Expand Down
4 changes: 2 additions & 2 deletions templates/containers/ecr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ Metadata:
# -------------------------------------
Parameters:
ProjectName:
Description: 'Enter the project name. (ex: my-project)'
Description: 'Enter the project name. (ex: shun198)'
Type: String
Default: my-project
Default: shun198
ConstraintDescription: 'ProjectName must be enter.'
MinLength: 1
Environment:
Expand Down
4 changes: 2 additions & 2 deletions templates/containers/ecs-cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ Metadata:
# -------------------------------------
Parameters:
ProjectName:
Description: "Enter the project name. (ex: my-project)"
Description: "Enter the project name. (ex: shun198)"
Type: String
Default: my-project
Default: shun198
MinLength: 1
ConstraintDescription: "ProjectName must be entered."
Environment:
Expand Down
8 changes: 4 additions & 4 deletions templates/containers/ecs-fargate-auto-scaling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ Metadata:
# -------------------------------------
Parameters:
ProjectName:
Description: "Enter the project name. (ex: my-project)"
Description: "Enter the project name. (ex: shun198)"
Type: String
MinLength: 1
ConstraintDescription: "ProjectName must be enter."
Default: my-project
Default: shun198
Environment:
Description: "Select the environment."
Type: String
Expand All @@ -41,10 +41,10 @@ Parameters:
- stg
- prd
TargetECSClusterName:
Description: "Enter the ECS cluster name for CloudWatch monitoring. (ex: my-project-dev-cluster)"
Description: "Enter the ECS cluster name for CloudWatch monitoring. (ex: shun198-dev-cluster)"
Type: String
TargetECSServiceName:
Description: "Enter the ECS service name for CloudWatch monitoring. (ex: my-project-dev-service)"
Description: "Enter the ECS service name for CloudWatch monitoring. (ex: shun198-dev-service)"
Type: String
ServiceScaleEvaluationPeriods:
Description: "The number of periods over which data is compared to the specified threshold."
Expand Down
12 changes: 6 additions & 6 deletions templates/containers/ecs-fargate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ Metadata:
# -------------------------------------
Parameters:
ProjectName:
Description: "Enter the project name. (ex: my-project)"
Description: "Enter the project name. (ex: shun198)"
Type: String
MinLength: 1
ConstraintDescription: "ProjectName must be enter."
Default: my-project
Default: shun198
Environment:
Description: "Select the environment."
Type: String
Expand All @@ -57,9 +57,9 @@ Parameters:
- prd
Default: dev
ECSClusterName:
Description: "Enter the ECS cluster name. (ex: my-project-dev-cluster)"
Description: "Enter the ECS cluster name. (ex: shun198-dev-cluster)"
Type: String
Default: my-project-dev-cluster
Default: shun198-dev-cluster
ECSPublicSubnet1:
Description: "Enter the Subnet ID for ECS in the selected VPC."
Type: AWS::EC2::Subnet::Id
Expand Down Expand Up @@ -122,11 +122,11 @@ Parameters:
AppLogGroupName:
Description: "Enter the CloudWatch Logs log-group name for application. (ex: /ecs/project/dev/back/django)"
Type: String
Default: /ecs/my-project/dev/back/django
Default: /ecs/shun198/dev/back/django
WebLogGroupName:
Description: "Enter the CloudWatch Logs log-group name for webserver. (ex: /ecs/project/dev/back/nginx)"
Type: String
Default: /ecs/my-project/dev/back/nginx
Default: /ecs/shun198/dev/back/nginx

# -------------------------------------
# Resources
Expand Down
4 changes: 2 additions & 2 deletions templates/databases/rds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ Metadata:
# -------------------------------------
Parameters:
ProjectName:
Description: "Enter the project name (ex: my-project)"
Description: "Enter the project name (ex: shun198)"
Type: String
Default: my-project
Default: shun198
ConstraintDescription: "ProjectName is required"
MinLength: 1
Environment:
Expand Down
20 changes: 10 additions & 10 deletions templates/environment/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ Parameters:
# -------------------------------------
ProjectName:
Type: String
Description: "Enter the project name. (ex: my-project)"
Description: "Enter the project name. (ex: shun198)"
MinLength: 1
ConstraintDescription: "ProjectName must be entered."
Default: my-project
Default: shun198
Environment:
Type: String
Description: "Select a environment name."
Expand Down Expand Up @@ -245,11 +245,11 @@ Parameters:
BackendAppLogGroupName:
Description: "CloudWatch Logs log-group name for application."
Type: String
Default: /ecs/my-project/dev/back/django
Default: /ecs/shun198/dev/back/django
BackendWebLogGroupName:
Description: "CloudWatch Logs log-group name for webserver."
Type: String
Default: /ecs/my-project/dev/back/nginx
Default: /ecs/shun198/dev/back/nginx
LogRetentionInDays:
Description: "Enter the data retention period."
Type: String
Expand Down Expand Up @@ -350,15 +350,15 @@ Parameters:
Description: "Enter the database name (ex: factor_flow_master_development)"
Type: String
RDSDBMasterUserName:
Description: "Enter the master username, following your company's naming rule (ref: https://pj100.esa.io/posts/9475)"
Description: "Enter the master username (postgres)"
Type: String
NoEcho: true
MinLength: 1
MaxLength: 16
AllowedPattern: "^[a-zA-Z][a-zA-Z_0-9]*"
ConstraintDescription: "Must begin with a letter and contain only alphanumeric characters"
RDSDBMasterUserPassword:
Description: "Enter the master password"
Description: "Enter the master password (postgres)"
Type: String
NoEcho: true
MinLength: 10
Expand Down Expand Up @@ -414,20 +414,20 @@ Parameters:
BackendAppLogsBucketName:
Description: "Enter the destination S3 bucket name of backend application for Kinesis Data Firehose Delivery Stream output."
Type: String
Default: my-project-dev-back-django-logs
Default: shun198-dev-back-django-logs
BackendWebLogsBucketName:
Description: "Enter the destination S3 bucket name of backend web server for Kinesis Data Firehose Delivery Stream output."
Type: String
Default: my-project-dev-back-nginx-logs
Default: shun198-dev-back-nginx-logs
PrefixForKinesisDataFirehose:
Description: "Enter the prefix for Kinesis Data Firehose Delivery Stream."
Type: String
Default: ""
CloudWatchLoggingOptionsLogGroupNameForApp:
Description: "Enter the CloudWatch Logs log group name for Kinesis Data Firehose delivery stream execution logs of application. (ex: /aws/kinesisfirehose/s3-delivery-stream/my-project/dev/back/django)"
Description: "Enter the CloudWatch Logs log group name for Kinesis Data Firehose delivery stream execution logs of application. (ex: /aws/kinesisfirehose/s3-delivery-stream/shun198/dev/back/django)"
Type: String
CloudWatchLoggingOptionsLogGroupNameForWeb:
Description: "Enter the CloudWatch Logs log group name for Kinesis Data Firehose delivery stream execution logs of web server. (ex: /aws/kinesisfirehose/s3-delivery-stream/my-project/dev/back/nginx)"
Description: "Enter the CloudWatch Logs log group name for Kinesis Data Firehose delivery stream execution logs of web server. (ex: /aws/kinesisfirehose/s3-delivery-stream/shun198/dev/back/nginx)"
Type: String

# -------------------------------------
Expand Down
Loading

0 comments on commit 7ddce5f

Please sign in to comment.