TerraformでALBにGoogle Authenticationを設定する
ALBのみでGoogle認証をかける
code:yaml
default_action {
type = "authenticate-oidc"
authenticate_oidc {
authorization_endpoint = "
https://accounts.google.com/o/oauth2/v2/auth"
client_id = "your_client_id"
client_secret = "your_secret"
issuer = "
https://accounts.google.com"
token_endpoint = "
https://oauth2.googleapis.com/token"
user_info_endpoint = "
https://openidconnect.googleapis.com/v1/userinfo"
}
}