On AWS you need
- pem file
- s3 bucket
- dynamodb table
$ cd terraform
$ source creds.sh
$ terraform init -backend-config "encrypt=true" -backend-config "bucket=terrastate2020" -backend-config "dynamodb_table=terraform-lock-dynamo" -backend-config "region=us-east-1" -backend-config "key=test/terraform.tfstate"
$ terraform plan
$ terraform apply
- Login to jenkins http://:8080
- Configure jenkins.
- Create a pipeline job using Jenkinsfile commited in this repository.
- Trigger the job to configure a web-server.