Skip to content

Commit

Permalink
pushing latest code
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Feb 10, 2026
1 parent 2d4456e commit 20b8d7f
Show file tree
Hide file tree
Showing 8,583 changed files with 1,415,028 additions and 22 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Binary file added __pycache__/__init__.cpython-311.pyc
Binary file not shown.
25 changes: 25 additions & 0 deletions deploy/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions deploy/.terraform/modules/modules.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"Modules":[{"Key":"","Source":"","Dir":"."},{"Key":"service_catalog_repo_generator","Source":"../../terraform-aws-template-automation","Dir":"../../terraform-aws-template-automation"}]}
80 changes: 80 additions & 0 deletions deploy/.terraform_commits
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
[
{
"commit_hash": "2d4456e20e73a09d86052743f34ce30dd61cc72d",
"commit_message": "Update README with build/deploy workflow, fix Makefile paths\n\n- Rewrite README to document the 3-step build/deploy workflow:\n 1. Terraform creates ECR repository (root main.tf)\n 2. Packer Pipeline builds container image via CodeBuild\n 3. Terraform deploys Lambda function (deploy/ directory)\n- Add repository structure overview\n- Add environment variables reference table\n- Add development/testing instructions\n- Add related repositories links\n- Fix Makefile: update paths from eks_automation to template_automation\n- Fix deploy/main.tf: remove duplicate CloudFormation lambda_permission\n (already created by terraform-aws-template-automation module)\n- Add cloudwatch_log_group and api_endpoint outputs to deploy",
"author": "Your Name",
"timestamp": "2026-02-09T13:24:08.157152"
},
{
"commit_hash": "2d4456e20e73a09d86052743f34ce30dd61cc72d",
"commit_message": "Update README with build/deploy workflow, fix Makefile paths\n\n- Rewrite README to document the 3-step build/deploy workflow:\n 1. Terraform creates ECR repository (root main.tf)\n 2. Packer Pipeline builds container image via CodeBuild\n 3. Terraform deploys Lambda function (deploy/ directory)\n- Add repository structure overview\n- Add environment variables reference table\n- Add development/testing instructions\n- Add related repositories links\n- Fix Makefile: update paths from eks_automation to template_automation\n- Fix deploy/main.tf: remove duplicate CloudFormation lambda_permission\n (already created by terraform-aws-template-automation module)\n- Add cloudwatch_log_group and api_endpoint outputs to deploy",
"author": "Your Name",
"timestamp": "2026-02-09T15:34:24.286211"
},
{
"commit_hash": "2d4456e20e73a09d86052743f34ce30dd61cc72d",
"commit_message": "Update README with build/deploy workflow, fix Makefile paths\n\n- Rewrite README to document the 3-step build/deploy workflow:\n 1. Terraform creates ECR repository (root main.tf)\n 2. Packer Pipeline builds container image via CodeBuild\n 3. Terraform deploys Lambda function (deploy/ directory)\n- Add repository structure overview\n- Add environment variables reference table\n- Add development/testing instructions\n- Add related repositories links\n- Fix Makefile: update paths from eks_automation to template_automation\n- Fix deploy/main.tf: remove duplicate CloudFormation lambda_permission\n (already created by terraform-aws-template-automation module)\n- Add cloudwatch_log_group and api_endpoint outputs to deploy",
"author": "Your Name",
"timestamp": "2026-02-09T15:37:24.946227"
},
{
"commit_hash": "2d4456e20e73a09d86052743f34ce30dd61cc72d",
"commit_message": "Update README with build/deploy workflow, fix Makefile paths\n\n- Rewrite README to document the 3-step build/deploy workflow:\n 1. Terraform creates ECR repository (root main.tf)\n 2. Packer Pipeline builds container image via CodeBuild\n 3. Terraform deploys Lambda function (deploy/ directory)\n- Add repository structure overview\n- Add environment variables reference table\n- Add development/testing instructions\n- Add related repositories links\n- Fix Makefile: update paths from eks_automation to template_automation\n- Fix deploy/main.tf: remove duplicate CloudFormation lambda_permission\n (already created by terraform-aws-template-automation module)\n- Add cloudwatch_log_group and api_endpoint outputs to deploy",
"author": "Your Name",
"timestamp": "2026-02-09T15:48:44.700543"
},
{
"commit_hash": "2d4456e20e73a09d86052743f34ce30dd61cc72d",
"commit_message": "Update README with build/deploy workflow, fix Makefile paths\n\n- Rewrite README to document the 3-step build/deploy workflow:\n 1. Terraform creates ECR repository (root main.tf)\n 2. Packer Pipeline builds container image via CodeBuild\n 3. Terraform deploys Lambda function (deploy/ directory)\n- Add repository structure overview\n- Add environment variables reference table\n- Add development/testing instructions\n- Add related repositories links\n- Fix Makefile: update paths from eks_automation to template_automation\n- Fix deploy/main.tf: remove duplicate CloudFormation lambda_permission\n (already created by terraform-aws-template-automation module)\n- Add cloudwatch_log_group and api_endpoint outputs to deploy",
"author": "Your Name",
"timestamp": "2026-02-09T15:49:47.368598"
},
{
"commit_hash": "2d4456e20e73a09d86052743f34ce30dd61cc72d",
"commit_message": "Update README with build/deploy workflow, fix Makefile paths\n\n- Rewrite README to document the 3-step build/deploy workflow:\n 1. Terraform creates ECR repository (root main.tf)\n 2. Packer Pipeline builds container image via CodeBuild\n 3. Terraform deploys Lambda function (deploy/ directory)\n- Add repository structure overview\n- Add environment variables reference table\n- Add development/testing instructions\n- Add related repositories links\n- Fix Makefile: update paths from eks_automation to template_automation\n- Fix deploy/main.tf: remove duplicate CloudFormation lambda_permission\n (already created by terraform-aws-template-automation module)\n- Add cloudwatch_log_group and api_endpoint outputs to deploy",
"author": "Your Name",
"timestamp": "2026-02-09T17:26:12.004418"
},
{
"commit_hash": "2d4456e20e73a09d86052743f34ce30dd61cc72d",
"commit_message": "Update README with build/deploy workflow, fix Makefile paths\n\n- Rewrite README to document the 3-step build/deploy workflow:\n 1. Terraform creates ECR repository (root main.tf)\n 2. Packer Pipeline builds container image via CodeBuild\n 3. Terraform deploys Lambda function (deploy/ directory)\n- Add repository structure overview\n- Add environment variables reference table\n- Add development/testing instructions\n- Add related repositories links\n- Fix Makefile: update paths from eks_automation to template_automation\n- Fix deploy/main.tf: remove duplicate CloudFormation lambda_permission\n (already created by terraform-aws-template-automation module)\n- Add cloudwatch_log_group and api_endpoint outputs to deploy",
"author": "Your Name",
"timestamp": "2026-02-09T17:32:18.277847"
},
{
"commit_hash": "2d4456e20e73a09d86052743f34ce30dd61cc72d",
"commit_message": "Update README with build/deploy workflow, fix Makefile paths\n\n- Rewrite README to document the 3-step build/deploy workflow:\n 1. Terraform creates ECR repository (root main.tf)\n 2. Packer Pipeline builds container image via CodeBuild\n 3. Terraform deploys Lambda function (deploy/ directory)\n- Add repository structure overview\n- Add environment variables reference table\n- Add development/testing instructions\n- Add related repositories links\n- Fix Makefile: update paths from eks_automation to template_automation\n- Fix deploy/main.tf: remove duplicate CloudFormation lambda_permission\n (already created by terraform-aws-template-automation module)\n- Add cloudwatch_log_group and api_endpoint outputs to deploy",
"author": "Your Name",
"timestamp": "2026-02-09T17:34:39.559373"
},
{
"commit_hash": "2d4456e20e73a09d86052743f34ce30dd61cc72d",
"commit_message": "Update README with build/deploy workflow, fix Makefile paths\n\n- Rewrite README to document the 3-step build/deploy workflow:\n 1. Terraform creates ECR repository (root main.tf)\n 2. Packer Pipeline builds container image via CodeBuild\n 3. Terraform deploys Lambda function (deploy/ directory)\n- Add repository structure overview\n- Add environment variables reference table\n- Add development/testing instructions\n- Add related repositories links\n- Fix Makefile: update paths from eks_automation to template_automation\n- Fix deploy/main.tf: remove duplicate CloudFormation lambda_permission\n (already created by terraform-aws-template-automation module)\n- Add cloudwatch_log_group and api_endpoint outputs to deploy",
"author": "Your Name",
"timestamp": "2026-02-09T17:36:19.387441"
},
{
"commit_hash": "2d4456e20e73a09d86052743f34ce30dd61cc72d",
"commit_message": "Update README with build/deploy workflow, fix Makefile paths\n\n- Rewrite README to document the 3-step build/deploy workflow:\n 1. Terraform creates ECR repository (root main.tf)\n 2. Packer Pipeline builds container image via CodeBuild\n 3. Terraform deploys Lambda function (deploy/ directory)\n- Add repository structure overview\n- Add environment variables reference table\n- Add development/testing instructions\n- Add related repositories links\n- Fix Makefile: update paths from eks_automation to template_automation\n- Fix deploy/main.tf: remove duplicate CloudFormation lambda_permission\n (already created by terraform-aws-template-automation module)\n- Add cloudwatch_log_group and api_endpoint outputs to deploy",
"author": "Your Name",
"timestamp": "2026-02-09T17:40:08.987812"
},
{
"commit_hash": "2d4456e20e73a09d86052743f34ce30dd61cc72d",
"commit_message": "Update README with build/deploy workflow, fix Makefile paths\n\n- Rewrite README to document the 3-step build/deploy workflow:\n 1. Terraform creates ECR repository (root main.tf)\n 2. Packer Pipeline builds container image via CodeBuild\n 3. Terraform deploys Lambda function (deploy/ directory)\n- Add repository structure overview\n- Add environment variables reference table\n- Add development/testing instructions\n- Add related repositories links\n- Fix Makefile: update paths from eks_automation to template_automation\n- Fix deploy/main.tf: remove duplicate CloudFormation lambda_permission\n (already created by terraform-aws-template-automation module)\n- Add cloudwatch_log_group and api_endpoint outputs to deploy",
"author": "Your Name",
"timestamp": "2026-02-09T17:52:38.294077"
},
{
"commit_hash": "2d4456e20e73a09d86052743f34ce30dd61cc72d",
"commit_message": "Update README with build/deploy workflow, fix Makefile paths\n\n- Rewrite README to document the 3-step build/deploy workflow:\n 1. Terraform creates ECR repository (root main.tf)\n 2. Packer Pipeline builds container image via CodeBuild\n 3. Terraform deploys Lambda function (deploy/ directory)\n- Add repository structure overview\n- Add environment variables reference table\n- Add development/testing instructions\n- Add related repositories links\n- Fix Makefile: update paths from eks_automation to template_automation\n- Fix deploy/main.tf: remove duplicate CloudFormation lambda_permission\n (already created by terraform-aws-template-automation module)\n- Add cloudwatch_log_group and api_endpoint outputs to deploy",
"author": "Your Name",
"timestamp": "2026-02-09T17:57:49.774306"
},
{
"commit_hash": "2d4456e20e73a09d86052743f34ce30dd61cc72d",
"commit_message": "Update README with build/deploy workflow, fix Makefile paths\n\n- Rewrite README to document the 3-step build/deploy workflow:\n 1. Terraform creates ECR repository (root main.tf)\n 2. Packer Pipeline builds container image via CodeBuild\n 3. Terraform deploys Lambda function (deploy/ directory)\n- Add repository structure overview\n- Add environment variables reference table\n- Add development/testing instructions\n- Add related repositories links\n- Fix Makefile: update paths from eks_automation to template_automation\n- Fix deploy/main.tf: remove duplicate CloudFormation lambda_permission\n (already created by terraform-aws-template-automation module)\n- Add cloudwatch_log_group and api_endpoint outputs to deploy",
"author": "Your Name",
"timestamp": "2026-02-09T18:03:25.014617"
}
]
23 changes: 23 additions & 0 deletions deploy/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,26 @@ output "cloudformation_template_example" {
Value: !GetAtt MyRepository.PullRequestUrl
EOT
}

# Service Catalog outputs (only populated when create_service_catalog = true)
output "service_catalog_portfolio_id" {
description = "ID of the Service Catalog portfolio"
value = var.create_service_catalog ? aws_servicecatalog_portfolio.this[0].id : null
}

output "service_catalog_product_id" {
description = "ID of the Service Catalog product"
value = var.create_service_catalog ? aws_servicecatalog_product.github_repository[0].id : null
}

output "service_catalog_provisioning_url" {
description = "URL to provision the product in the AWS Console"
value = var.create_service_catalog ? (
"https://console.${local.console_domain}/servicecatalog/home?region=${var.aws_region}#/products/${aws_servicecatalog_product.github_repository[0].id}"
) : null
}

locals {
# GovCloud uses a different console domain
console_domain = can(regex("us-gov-", var.aws_region)) ? "amazonaws-us-gov.com" : "aws.amazon.com"
}
Loading

0 comments on commit 20b8d7f

Please sign in to comment.