This is a sample Java / Maven / Spring Boot (version 1.5.6) application .
- set aws credential using git secrets .
-- VPC , NAT Gateway , Security Group for Auto scaling group , RDS , ALB
-- RDS , SSM Parameter
-- Application Load Balancer , Target Group
-- ECS , Task Defination , Service
s3 backend -- i am using s3 bucket as backend to save .tfstate file. you have to configure your s3 bucket or you can use local to save your .tfstate file
Name | Type |
---|---|
random_string | resource |
aws_ssm_parameter | resource |
aws_instance | resource |
aws_security_group | resource |
aws_iam_role | resource |
aws_iam_instance_profile | resource |
aws_iam_role_policy | resource |
- Clone this repository
1-Add AWS Secret to Github-Action Evironment -go To Setting Secret/Action/ -click on New Repository Secret and Add Your AWS_ACCESS_KEY_ID & AWS_SECRET_ACCESS_KEY
2- Create Your Own s3 bucket and replace details in main.tf
3- Now you can manage your architecture using github action