Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STG環境用に RDS Proxy の認証を追加 #53

Merged
merged 3 commits into from
Dec 11, 2021

Conversation

kobayashi-m42
Copy link
Member

@kobayashi-m42 kobayashi-m42 commented Dec 5, 2021

issueURL

#42

Doneの定義

  • STG環境用に RDS Proxy の認証が追加されていること

変更点概要

STG環境用に RDS Proxy の認証を追加した。これによりSTG環境用のユーザで、RDSに接続できるようになる。

SecretManager の名前を命名規則に合わせてスネークケースからケバブケースに変更したので、data リソースで指定している name を修正。
SecretManager はAWSコンソールから手動で設定したもののため、今回もAWSコンソールから変更している。

補足

その他、STG環境の migration に必要となるリソースの作成は、別のPRで対応する。

@kobayashi-m42 kobayashi-m42 self-assigned this Dec 5, 2021
@@ -1,5 +1,5 @@
resource "aws_secretsmanager_secret" "rds_connection" {
name = "${var.rds_name}/rds-connection"
name = "/prod/${var.rds_name}/rds-connection"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prod と stg を分ける必要があったので、名前を変更した

@kobayashi-m42 kobayashi-m42 marked this pull request as ready for review December 11, 2021 07:23
Copy link
Member

@keitakn keitakn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

対応ありがとう🐱!

LGTMeow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants