diff --git a/plugins/connection/aws_ssm.py b/plugins/connection/aws_ssm.py index 0c60292cbca..d8b07c41c4d 100644 --- a/plugins/connection/aws_ssm.py +++ b/plugins/connection/aws_ssm.py @@ -432,7 +432,7 @@ def _get_bucket_endpoint(self): ) bucket_region = head_bucket.get("ResponseMetadata", {}).get("HTTPHeaders", {}).get("x-amz-bucket-region", None) if bucket_region is None: - bucket_region = "us-east-1" + bucket_region = "us-east-1" if self.get_option("bucket_endpoint_url"): return self.get_option("bucket_endpoint_url"), bucket_region