{"id":25704990,"url":"https://github.com/senora-dev/terraform-aws-self-service-agent","last_synced_at":"2026-03-02T17:33:21.507Z","repository":{"id":227649117,"uuid":"730208411","full_name":"Senora-dev/terraform-aws-self-service-agent","owner":"Senora-dev","description":"Terraform module that creates an AWS Lambda function to act as an agent, receiving events from Port Self-Service Hub and executing the relevant runner (implemented by AWS CodeBuild).","archived":false,"fork":false,"pushed_at":"2024-03-15T06:50:03.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-03-15T13:22:11.339Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://senora.dev","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Senora-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-12-11T12:38:59.000Z","updated_at":"2024-03-14T12:20:05.000Z","dependencies_parsed_at":"2024-03-14T13:21:22.195Z","dependency_job_id":"5078e5c9-0140-4985-adde-de6048d66e99","html_url":"https://github.com/Senora-dev/terraform-aws-self-service-agent","commit_stats":null,"previous_names":["senora-dev/terraform-aws-self-service-agent"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Senora-dev%2Fterraform-aws-self-service-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Senora-dev%2Fterraform-aws-self-service-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Senora-dev%2Fterraform-aws-self-service-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Senora-dev%2Fterraform-aws-self-service-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Senora-dev","download_url":"https://codeload.github.com/Senora-dev/terraform-aws-self-service-agent/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240618933,"owners_count":19830171,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-25T06:34:20.580Z","updated_at":"2026-03-02T17:33:16.472Z","avatar_url":"https://github.com/Senora-dev.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-aws-self-service-agent\nTerraform module that creates an AWS Lambda function to act as an agent, receiving events from [Port Self-Service Hub](https://www.getport.io/product/self-service) and executing the relevant runner (implemented by AWS CodeBuild).\n\n## Prerequisites\nBefore you dive into the Lambda Agent, make sure you've created your [Port secrets](https://docs.getport.io/build-your-software-catalog/sync-data-to-catalog/api/#find-your-port-credentials) (client_secret and client_id) in AWS Secret Manager. \nEnsure your secret names match the variables you'll be using. \nIf you're rolling with the defaults, your secrets should be named port_client_secret and port_client_id.\n\n```terraform\nvariable \"port_client_secret_secret_name\"{\n    type = string\n    default = \"port_client_secret\"\n    description = \"The name of the secret in Secret-Manager which holds the value of CLIENT_SECRET.\"\n}\n\nvariable \"port_client_id_secret_name\"{\n    type = string\n    default = \"port_client_id\"\n    description = \"The name of the secret in Secret-Manager which holds the value of CLIENT_ID.\"\n}\n```\nAdditionally, you need to create a secret for [Port Kafka credentials](https://docs.getport.io/create-self-service-experiences/setup-backend/webhook/kafka/) in the AWS Secret Manager. This secret will be used as a variable: \n```terraform\nvariable \"port_kafka_auth_credentials\"{\n    type = string\n    default = \"port_kafka_auth_credentials\"\n    description = \"The name of the secret in Secret-Manager which holds JSON with the values 'username' and 'password' for Kafka.\"\n}\n```\n\n## Usage\nNow, add module into your Terraform code:\n```terraform\nmodule \"self_service_agent\"{\n    source  = \"Senora-dev/self-service-agent/aws\"\n    version = \"~\u003e1.0.0\"\n\n    port_kafka_topics = [\"ORG_ID.runs\"]\n    port_kafka_bootstrap_servers = \"kafka1:9096,kafka2:9096,kafka3:9096\"\n    port_kafka_consumer_group_id = \"GroupIdFromPort\"\n}\n```\n\n## Contributing\nContributions to this project are welcome! Feel free to submit issues, feature requests, or pull requests to help improve the self-service backend.\n\n## License\nThis project is licensed under the [Apache 2.0 License](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsenora-dev%2Fterraform-aws-self-service-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsenora-dev%2Fterraform-aws-self-service-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsenora-dev%2Fterraform-aws-self-service-agent/lists"}