https://github.com/anderseknert/aws-opa-infra
Infra code for OPA experiments in AWS
https://github.com/anderseknert/aws-opa-infra
Last synced: 2 months ago
JSON representation
Infra code for OPA experiments in AWS
- Host: GitHub
- URL: https://github.com/anderseknert/aws-opa-infra
- Owner: anderseknert
- Created: 2020-12-22T16:14:11.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-22T20:56:45.000Z (over 5 years ago)
- Last Synced: 2025-10-10T23:03:40.428Z (10 months ago)
- Language: HCL
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# aws-opa-infra
Terraform code for setting up an AWS lab environment for working OPA, bundle servers, etc.
## TODO
* Provision custom AMI with OPA installed and running with provided config (fetching bundle from S3)
* Terratest
## Requirements
| Name | Version |
|------|---------|
| terraform | >= 0.14 |
| aws | ~> 3.0 |
## Providers
| Name | Version |
|------|---------|
| aws | ~> 3.0 |
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| ami | The AMI to use for the EC2 instance | `string` | `"ami-0a3a4169ad7cb0d77"` | no |
| bucket\_name | Bucket name | `string` | `"opa-lab-bucket"` | no |
| instance\_type | Instance type | `string` | `"t3.micro"` | no |
| public\_key\_path | Path to public key to use for SSH access | `string` | n/a | yes |
## Outputs
| Name | Description |
|------|-------------|
| opa\_bucket\_domain\_name | Bucket domain name |
| opa\_lab\_public\_ip | External IP |