ablog

不器用で落着きのない技術者のメモ

2020-01-07から1日間の記事一覧

Python Shell から Secrets Manager へのアクセスで "Connection to secretsmanager ... timed out" と怒られる

AWS

事象 Glue の Python Shell から Secrets Manager からパスワードなどを取得して Redshift にクエリを発行するジョブを実行するエラーになり、CloudWtach Logs を確認すると以下のメッセージが出力されている。 urllib3.exceptions.ConnectTimeoutError: (<botocore.awsrequest.AWSHTTPSConnection object at 0x7fb31ea5e128>, </botocore.awsrequest.awshttpsconnection>…

GlueからRedshiftへの接続テストで "Could not find S3 endpoint or NAT gateway for subnetId" と怒られる

AWS

事象 AWS Step Functions および AWS Glue を使用した Amazon Redshift ベースの ETL ワークフローのオーケストレーション | Amazon Web Services ブログ に従って、GlueでRedshiftへの接続を作成して接続テストを行うと失敗する。 VPC S3 endpoint validati…