-
Notifications
You must be signed in to change notification settings - Fork 0
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
CloudRunのサービスアカウント変更 #37
Merged
Merged
Conversation
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
Plan Result
Change Result (Click me) # google_cloud_run_v2_service.release will be updated in-place
~ resource "google_cloud_run_v2_service" "release" {
id = "projects/lumos-profile-management/locations/asia-northeast1/services/release"
name = "release"
# (30 unchanged attributes hidden)
~ template {
~ service_account = "938038185918-compute@developer.gserviceaccount.com" -> "cloudrun-svc@lumos-profile-management.iam.gserviceaccount.com"
# (8 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
# (1 unchanged block hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy. |
❌ Apply FailedIt failed to parse the result. Details (Click me)Acquiring state lock. This may take a few moments...
data.google_secret_manager_secret.discord_callback_uri: Reading...
data.google_secret_manager_secret.discord_bot_token: Reading...
data.google_secret_manager_secret.jwt_secret: Reading...
data.google_secret_manager_secret.discord_auth_url: Reading...
data.google_secret_manager_secret.discord_member_role_id: Reading...
data.google_secret_manager_secret.line_client_secret: Reading...
data.google_secret_manager_secret.discord_client_secret: Reading...
data.google_secret_manager_secret.discord_client_id: Reading...
data.google_secret_manager_secret.line_callback_uri: Reading...
google_artifact_registry_repository.main-repo: Refreshing state... [id=projects/lumos-profile-management/locations/asia-northeast1/repositories/main]
data.google_secret_manager_secret.discord_auth_url: Read complete after 0s [id=projects/lumos-profile-management/secrets/DISCORD_AUTH_URL]
data.google_secret_manager_secret.line_client_id: Reading...
data.google_secret_manager_secret.discord_callback_uri: Read complete after 0s [id=projects/lumos-profile-management/secrets/DISCORD_CALLBACK_URI]
data.google_secret_manager_secret.line_auth_url: Reading...
data.google_secret_manager_secret.jwt_secret: Read complete after 0s [id=projects/lumos-profile-management/secrets/JWT_SECRET]
data.google_secret_manager_secret.discord_guild_id: Reading...
data.google_secret_manager_secret.discord_bot_token: Read complete after 0s [id=projects/lumos-profile-management/secrets/DISCORD_BOT_TOKEN]
data.google_secret_manager_secret.line_client_secret: Read complete after 0s [id=projects/lumos-profile-management/secrets/LINE_CLIENT_SECRET]
data.google_secret_manager_secret.discord_client_secret: Read complete after 0s [id=projects/lumos-profile-management/secrets/DISCORD_CLIENT_SECRET]
data.google_secret_manager_secret.firebase_admin_cert_path: Reading...
data.google_secret_manager_secret.discord_member_role_id: Read complete after 0s [id=projects/lumos-profile-management/secrets/DISCORD_MEMBER_ROLE_ID]
data.google_secret_manager_secret.discord_client_id: Read complete after 0s [id=projects/lumos-profile-management/secrets/DISCORD_CLIENT_ID]
data.google_secret_manager_secret.line_callback_uri: Read complete after 0s [id=projects/lumos-profile-management/secrets/LINE_CALLBACK_URI]
data.google_secret_manager_secret.line_client_id: Read complete after 0s [id=projects/lumos-profile-management/secrets/LINE_CLIENT_ID]
data.google_secret_manager_secret.firebase_admin_cert_path: Read complete after 0s [id=projects/lumos-profile-management/secrets/FIREBASE_ADMIN_CERT_PATH]
data.google_secret_manager_secret.discord_guild_id: Read complete after 0s [id=projects/lumos-profile-management/secrets/DISCORD_GUILD_ID]
data.google_secret_manager_secret.line_auth_url: Read complete after 0s [id=projects/lumos-profile-management/secrets/LINE_AUTH_URL]
google_cloud_run_v2_service.release: Refreshing state... [id=projects/lumos-profile-management/locations/asia-northeast1/services/release]
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# google_cloud_run_v2_service.release will be updated in-place
~ resource "google_cloud_run_v2_service" "release" {
id = "projects/lumos-profile-management/locations/asia-northeast1/services/release"
name = "release"
# (30 unchanged attributes hidden)
~ template {
~ service_account = "938038185918-compute@developer.gserviceaccount.com" -> "cloudrun-svc@lumos-profile-management.iam.gserviceaccount.com"
# (8 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
# (1 unchanged block hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
google_cloud_run_v2_service.release: Modifying... [id=projects/lumos-profile-management/locations/asia-northeast1/services/release]
google_cloud_run_v2_service.release: Still modifying... [id=projects/lumos-profile-management/locations/asia-northeast1/services/release, 10s elapsed]
╷
│ Error: Error waiting for Updating Service: Error code 13, message: Revision 'release-00025-98z' is not ready and cannot serve traffic. spec.template.spec.containers[0].env[3].value_from.secret_key_ref.name: Secret projects/938038185918/secrets/DISCORD_CLIENT_ID/versions/latest was not found
│ spec.template.spec.containers[0].env[7].value_from.secret_key_ref.name: Secret projects/938038185918/secrets/FIREBASE_ADMIN_CERT_PATH/versions/latest was not found
│
│ with google_cloud_run_v2_service.release,
│ on cloud-run.tf line 1, in resource "google_cloud_run_v2_service" "release":
│ 1: resource "google_cloud_run_v2_service" "release" {
│
╵
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
CloudRun専用アカウントでの動作に変更