https://github.com/senora-dev/terraform-aws-self-service-runner
This Terraform module creates an AWS CodeBuild project designed to serve as a runner for Port self-service actions. The CodeBuild project is configured to be triggered by the Lambda Agent.
https://github.com/senora-dev/terraform-aws-self-service-runner
Last synced: 10 months ago
JSON representation
This Terraform module creates an AWS CodeBuild project designed to serve as a runner for Port self-service actions. The CodeBuild project is configured to be triggered by the Lambda Agent.
- Host: GitHub
- URL: https://github.com/senora-dev/terraform-aws-self-service-runner
- Owner: Senora-dev
- License: apache-2.0
- Created: 2023-12-11T12:39:23.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-15T06:47:55.000Z (over 2 years ago)
- Last Synced: 2025-02-25T06:40:47.358Z (over 1 year ago)
- Language: HCL
- Homepage: https://senora.dev
- Size: 13.7 KB
- Stars: 9
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# terraform-aws-self-service-runner
This Terraform module creates an AWS CodeBuild project designed to serve as a runner for Port self-service actions. The CodeBuild project is configured to be triggered by the [Lambda Agent](https://github.com/Senora-dev/terraform-aws-self-service-agent).
## Prerequisites
- Before creating a runner (which serves as the backend for the action), ensure that you create a form and set the [trigger using Kafka](https://docs.getport.io/create-self-service-experiences/setup-backend/kafka/).
- Generate a [buildspec.yaml](https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html) file containing the specifications for your action.
## Usage
Now, add the module into your Terraform code.
If you set the Secrets ARNs hardcoded in the buildspec, use this:
```terraform
module "my_runner"{
source = "Senora-dev/self-service-runner/aws"
version = "~>1.0.0"
action_identifier = "action_identifier_from_port_ui"
buildspec_file = file("${path.module}/runners/sample.yaml")
}
```
If you don't want to set the Secrets ARNs hardcoded in the buildspec - use "templatefile" with the Agent Module outputs:
```terraform
module "my_runner"{
source = "Senora-dev/self-service-runner/aws"
version = "~>1.0.0"
action_identifier = "action_identifier_from_port_ui"
buildspec_file = file("${path.module}/runners/sample.yaml")
}
```
## Contributing
Contributions to this project are welcome! Feel free to submit issues, feature requests, or pull requests to help improve the self-service backend.
## License
This project is licensed under the [Apache 2.0 License](LICENSE).