https://github.com/philips-labs/terraform-cloudfoundry-siderite-backend
Siderite backend for hsdp_function resource
https://github.com/philips-labs/terraform-cloudfoundry-siderite-backend
function-as-a-service hsdp lambda terraform
Last synced: 4 months ago
JSON representation
Siderite backend for hsdp_function resource
- Host: GitHub
- URL: https://github.com/philips-labs/terraform-cloudfoundry-siderite-backend
- Owner: philips-labs
- License: mit
- Created: 2021-03-16T19:29:23.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-24T12:02:34.000Z (over 1 year ago)
- Last Synced: 2025-06-08T21:02:16.626Z (4 months ago)
- Topics: function-as-a-service, hsdp, lambda, terraform
- Language: HCL
- Homepage: https://registry.terraform.io/modules/philips-labs/siderite-backend/cloudfoundry/latest
- Size: 82 KB
- Stars: 1
- Watchers: 2
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# terraform-cloudfoundry-siderite-backend
Module to deploy a Siderite backend for `hsdp_function` resource. The module is still evolving and getting
new features. Be sure to follow the releases closely as we work towards the `1.0.0` release.## Disclaimer
> [!Important]
> This repository is managed as Philips Inner-source / Open-source.
> This repository is NOT endorsed or supported by HSSA&P or I&S Cloud Operations.
> You are expected to self-support or raise tickets on the Github project and NOT raise tickets in HSP ServiceNow.## Requirements
| Name | Version |
|------|---------|
| terraform | >= 0.13.0 |
| cloudfoundry | >= 0.14.1 |
| hsdp | >= 0.20.5 |
| random | >= 2.2.1 |## Providers
| Name | Version |
|------|---------|
| cloudfoundry | >= 0.14.1 |
| hsdp | >= 0.20.5 |
| random | >= 2.2.1 |## Modules
| Name | Source | Version |
|------|--------|---------|
| validate_space_variables | ./modules/validate_space_variables | |## Resources
| Name |
|------|
| [cloudfoundry_app](https://registry.terraform.io/providers/cloudfoundry-community/cloudfoundry/latest/docs/resources/app) |
| [cloudfoundry_domain](https://registry.terraform.io/providers/cloudfoundry-community/cloudfoundry/latest/docs/data-sources/domain) |
| [cloudfoundry_org](https://registry.terraform.io/providers/cloudfoundry-community/cloudfoundry/latest/docs/data-sources/org) |
| [cloudfoundry_route](https://registry.terraform.io/providers/cloudfoundry-community/cloudfoundry/latest/docs/resources/route) |
| [cloudfoundry_service](https://registry.terraform.io/providers/cloudfoundry-community/cloudfoundry/latest/docs/data-sources/service) |
| [cloudfoundry_service_instance](https://registry.terraform.io/providers/cloudfoundry-community/cloudfoundry/latest/docs/resources/service_instance) |
| [cloudfoundry_service_key](https://registry.terraform.io/providers/cloudfoundry-community/cloudfoundry/latest/docs/resources/service_key) |
| [cloudfoundry_space](https://registry.terraform.io/providers/cloudfoundry-community/cloudfoundry/latest/docs/data-sources/space) |
| [hsdp_config](https://registry.terraform.io/providers/philips-software/hsdp/latest/docs/data-sources/config) |
| [random_id](https://registry.terraform.io/providers/random/latest/docs/resources/id) |
| [random_password](https://registry.terraform.io/providers/random/latest/docs/resources/password) |## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| auth\_iam\_client\_id | The IAN OAuth2 client ID | `string` | `""` | no |
| auth\_iam\_client\_secret | The IAM OAuth2 client secret | `string` | `""` | no |
| auth\_iam\_environment | IAM environment | `string` | `"client-test"` | no |
| auth\_iam\_orgs | List of IAM ORG IDs to allow | `list(string)` | `[]` | no |
| auth\_iam\_region | IAM region | `string` | `"us-east"` | no |
| auth\_iam\_roles | The roles within the IAM ORG that grants access | `list(string)` | `[]` | no |
| base\_url | base URL for iron service | `string` | `""` | no |
| cf\_org\_name | Cloudfoundry ORG name to use for reverse proxy | `string` | n/a | yes |
| cf\_space\_id | The space GUID where to deploy components | `string` | `""` | no |
| cf\_space\_name | The spce name where to deploy components | `string` | `""` | no |
| docker\_password | Docker registry password | `string` | `""` | no |
| docker\_username | Docker registry username | `string` | `""` | no |
| enable\_gateway | Enable a gateway endpoint so you can trigger functions through HTTPS | `bool` | `true` | no |
| environment | Pass environment variable to the app | `map(any)` | `{}` | no |
| function\_gateway\_image | Image to use for Function Gateway app. Use a v* tagged version to prevent automatic updates | `string` | `"philipslabs/hsdp-func-gateway:v1.0.0"` | no |
| gateway\_auth\_type | Enable authorization for endpoints on the gateway. Supported types: ['none', 'token', 'iam'] | `string` | `"token"` | no |
| gateway\_disk\_quota | Gateway disk quota | `number` | `1024` | no |
| gateway\_memory | Gateway memory | `number` | `64` | no |
| iron\_credentials | Iron Service credentials | `map(any)` | `{}` | no |
| iron\_plan | The Iron plan to use | `string` | `"dev-large-encrypted"` | no |
| name\_postfix | The postfix string to append to the space, hostname, etc. Prevents namespace clashes | `string` | `""` | no |## Outputs
| Name | Description |
|------|-------------|
| api\_endpoint | The API endpoint of the gateway (when enabled) |
| auth\_type | The API gateway auth type |
| credentials | Siderite credentials |
| token | The authentication token for the gateway |# Contact / Getting help
Please post your questions on the HSDP Slack `#terraform` channel
# License
[License](./LICENSE.md) is MIT