Basic RDS Endpoint
RDS_EP=$(aws rds describe-db-instances --db-instance-identifier ws-db-instance --query "DBInstances[0].Endpoint.Address" --output text)
Shell
๋ณต์ฌ
Aurora RDS Endpoint
RDS_EP=$(aws rds describe-db-cluster-endpoints --query "DBClusterEndpoints[?EndpointType=='WRITER'].Endpoint" --output text)
Shell
๋ณต์ฌ
