Skip to content

Commit

Permalink
Syntax error. Add debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Chagnon committed Nov 12, 2024
1 parent 9c97b8e commit b0f03cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ def generate_buildspec(self, project_id: str, service_info: dict) -> str:
def write_buildspec(self, project_dir: str):
buildspec_path = os.path.join(project_dir, "buildspec.yaml")

print(f"Writing buildspec.yaml to {buildspec_path}")

ecr_path = os.getenv("ECR_REGISTRY_URI")
ecr_registry_uri, ecr_repository_name = ecr_path.split("/", 1)
aws_default_region = boto3.session.Session().region_name
Expand Down
2 changes: 1 addition & 1 deletion toolkit-service-lambda/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def post_services():
"id": project_id,
"project_name": service_info['name'],
"project_type": project_type,
"description": service_info("description", ""),
"description": service_info["description"],
"github_repo": scm_info["repo"],
"created_timestamp": timestamp,
"updated_timestamp": timestamp,
Expand Down

0 comments on commit b0f03cd

Please sign in to comment.