generated from nekochans/terraform-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 1
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
ねこ画像判定用API用のリソースを作成 #74
Merged
Merged
Changes from 5 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
262e32c
:construction: #36
keitakn 83755b4
:sparkles: #36 ステージング環境にlgtm-cat-image-recognition-apiのリソースを作成
keitakn a62554b
:sparkles: #36 本番環境にlgtm-cat-image-recognition-apiのリソースを追加
keitakn 39f15e3
:sparkles: #36 ステージング用のlgtm-cat-image-recognition-apiを独自ドメインでアクセス出来るよ…
keitakn 3e81507
:sparkles: #36 本番環境のlgtm-cat-image-recognition-apiに独自ドメインでアクセス出来る設定を追加
keitakn faa4ddb
:memo: #36 依存関係が複雑になっているので、READMEにlgtm-cat-image-recognitionとの依存関係を追記
keitakn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
module "cognito" { | ||
source = "../../../../../modules/aws/cognito" | ||
user_pool_name = local.user_pool_name | ||
user_pool_domain_name = local.user_pool_domain_name | ||
email_identity_arn = local.email_identity_arn | ||
lgtm_cat_api_resource_server_name = local.lgtm_cat_api_resource_server_name | ||
lgtm_cat_api_resource_server_identifier = local.lgtm_cat_api_resource_server_identifier | ||
lgtm_cat_bff_client_name = local.lgtm_cat_bff_client_name | ||
source = "../../../../../modules/aws/cognito" | ||
user_pool_name = local.user_pool_name | ||
user_pool_domain_name = local.user_pool_domain_name | ||
email_identity_arn = local.email_identity_arn | ||
lgtm_cat_api_resource_server_name = local.lgtm_cat_api_resource_server_name | ||
lgtm_cat_api_resource_server_identifier = local.lgtm_cat_api_resource_server_identifier | ||
lgtm_cat_image_recognition_api_resource_server_name = local.lgtm_cat_image_recognition_api_resource_server_name | ||
lgtm_cat_image_recognition_api_resource_server_identifier = local.lgtm_cat_image_recognition_api_resource_server_identifier | ||
lgtm_cat_bff_client_name = local.lgtm_cat_bff_client_name | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
locals { | ||
env = "prod" | ||
user_pool_name = "${local.env}-lgtmeow-user-pool" | ||
user_pool_domain_name = "${local.env}-lgtmeow" | ||
email_identity_arn = data.terraform_remote_state.ses.outputs.email_identity_arn | ||
lgtm_cat_api_resource_server_name = "${local.env}-lgtm-cat-api" | ||
lgtm_cat_api_resource_server_identifier = "api.lgtmeow" | ||
lgtm_cat_bff_client_name = "lgtmeow-bff" | ||
env = "prod" | ||
user_pool_name = "${local.env}-lgtmeow-user-pool" | ||
user_pool_domain_name = "${local.env}-lgtmeow" | ||
email_identity_arn = data.terraform_remote_state.ses.outputs.email_identity_arn | ||
lgtm_cat_api_resource_server_name = "${local.env}-lgtm-cat-api" | ||
lgtm_cat_api_resource_server_identifier = "api.lgtmeow" | ||
lgtm_cat_image_recognition_api_resource_server_name = "${local.env}-lgtm-cat-image-recognition-api" | ||
lgtm_cat_image_recognition_api_resource_server_identifier = "image-recognition-api.lgtmeow" | ||
lgtm_cat_bff_client_name = "lgtmeow-bff" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
module "cognito" { | ||
source = "../../../../../modules/aws/cognito" | ||
user_pool_name = local.user_pool_name | ||
user_pool_domain_name = local.user_pool_domain_name | ||
email_identity_arn = local.email_identity_arn | ||
lgtm_cat_api_resource_server_name = local.lgtm_cat_api_resource_server_name | ||
lgtm_cat_api_resource_server_identifier = local.lgtm_cat_api_resource_server_identifier | ||
lgtm_cat_bff_client_name = local.lgtm_cat_bff_client_name | ||
source = "../../../../../modules/aws/cognito" | ||
user_pool_name = local.user_pool_name | ||
user_pool_domain_name = local.user_pool_domain_name | ||
email_identity_arn = local.email_identity_arn | ||
lgtm_cat_api_resource_server_name = local.lgtm_cat_api_resource_server_name | ||
lgtm_cat_api_resource_server_identifier = local.lgtm_cat_api_resource_server_identifier | ||
lgtm_cat_image_recognition_api_resource_server_name = local.lgtm_cat_image_recognition_api_resource_server_name | ||
lgtm_cat_image_recognition_api_resource_server_identifier = local.lgtm_cat_image_recognition_api_resource_server_identifier | ||
lgtm_cat_bff_client_name = local.lgtm_cat_bff_client_name | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
locals { | ||
env = "stg" | ||
user_pool_name = "${local.env}-lgtmeow-user-pool" | ||
user_pool_domain_name = "${local.env}-lgtmeow" | ||
email_identity_arn = data.terraform_remote_state.ses.outputs.email_identity_arn | ||
lgtm_cat_api_resource_server_name = "${local.env}-lgtm-cat-api" | ||
lgtm_cat_api_resource_server_identifier = "api.lgtmeow" | ||
lgtm_cat_bff_client_name = "lgtmeow-bff" | ||
env = "stg" | ||
user_pool_name = "${local.env}-lgtmeow-user-pool" | ||
user_pool_domain_name = "${local.env}-lgtmeow" | ||
email_identity_arn = data.terraform_remote_state.ses.outputs.email_identity_arn | ||
lgtm_cat_api_resource_server_name = "${local.env}-lgtm-cat-api" | ||
lgtm_cat_api_resource_server_identifier = "api.lgtmeow" | ||
lgtm_cat_image_recognition_api_resource_server_name = "${local.env}-lgtm-cat-image-recognition-api" | ||
lgtm_cat_image_recognition_api_resource_server_identifier = "image-recognition-api.lgtmeow" | ||
lgtm_cat_bff_client_name = "lgtmeow-bff" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/nekochans/lgtm-cat-image-recognition のデプロイ時に生成されるAPI GatewayのIDはSecretManagerに事前に入れておく事にした🐱
https://github.com/nekochans/lgtm-cat-image-recognition のデプロイ時にSecretManagerを生成出来れば良いのだけど難しそうだったのでデプロイ後にコンソールからSecretManagerを作成する方針としてある(一回デプロイしたら基本消さないので、大きな問題はないと思っている)