Skip to content

Commit 6c9bd7e

Browse files
committed
doc: replace aws-cli installation with doc link
1 parent 63c35af commit 6c9bd7e

File tree

1 file changed

+5
-47
lines changed

1 file changed

+5
-47
lines changed

.header.md

Lines changed: 5 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# terraform-aws-kong
22

3-
Terraform Module to setup Kong(OSS) in ECS with self managed EC2 instances.
3+
Terraform Module to setup Kong(OSS) in ECS with self managed EC2 instances.
44

55
# Architectural Diagram
66

@@ -10,57 +10,15 @@ Terraform Module to setup Kong(OSS) in ECS with self managed EC2 instances.
1010

1111
This setup assumes that the `ECS cluster` that has `Auto Scaling Group (ASG)` exist with the name `default`. If you are using different name, you can provide those in the variables section of your Terraform configuration.
1212

13-
# Prerequisites for Setting Up AWS SSM Parameters
14-
15-
To configure and manage your AWS resources and GitHub Actions using Secure String parameters in AWS Systems Manager Parameter Store, follow the steps below to add the required parameters:
16-
17-
## AWS CLI Installation
18-
19-
Ensure you have the AWS CLI installed on your machine. You can install the AWS CLI using the following commands based on your operating system:
20-
21-
### Windows
22-
```sh
23-
msiexec.exe /i https://awscli.amazonaws.com/AWSCLIV2.msi
24-
```
25-
26-
### macOS
27-
```sh
28-
brew install awscli
29-
```
30-
31-
### Linux
32-
```sh
33-
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
34-
unzip awscliv2.zip
35-
sudo ./aws/install
36-
```
37-
38-
## AWS CLI Configuration
39-
40-
Configure the AWS CLI with your AWS credentials and region. Run the following command and follow the prompts to enter your AWS Access Key, Secret Access Key, and default region:
41-
42-
```sh
43-
aws configure
44-
```
45-
4613
## Adding Parameters to AWS Systems Manager Parameter Store
4714

48-
Use the following commands to add the required parameters to AWS Systems Manager Parameter Store. These parameters are necessary for configuring your PostgreSQL database and GitHub Actions.
15+
Ensure you have the AWS CLI installed on your machine. You can find the installation instructions for different operating systems in the official AWS CLI documentation:
16+
[Install AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html)
4917

50-
### RDS Parameters
18+
Use the following commands to add the required parameters to AWS Systems Manager Parameter Store. These parameters are necessary for configuring your PostgreSQL database.
5119

5220
```sh
5321
aws ssm put-parameter --name "/rds/POSTGRES_USERNAME" --value "value" --type "SecureString"
5422
aws ssm put-parameter --name "/rds/POSTGRES_PASSWORD" --value "value" --type "SecureString"
5523
aws ssm put-parameter --name "/rds/POSTGRES_DB_NAME" --value "value" --type "SecureString"
56-
```
57-
58-
## Verifying Parameter Storage
59-
60-
After adding the parameters, you can verify their storage in AWS Systems Manager Parameter Store using the following command:
61-
62-
```sh
63-
aws ssm get-parameters --names "/rds/POSTGRES_USERNAME" "/rds/POSTGRES_PASSWORD" "/rds/POSTGRES_DB_NAME" --with-decryption
64-
```
65-
66-
This command will display the values of the stored parameters, ensuring they have been added correctly.
24+
```

0 commit comments

Comments
 (0)