Resource Packs

26 examples found

Cloud

Example

Flavor

Feature

The examples below illustrate the use of Resource Packs to provision a particular infrastructure resource.

A Resource Pack example may contain several Resource Definitions , usually of different types , working in conjunction. Therefore, there is not always a one-to-one relationship of Resource Pack to Resource Type. Refer to the description of the individual examples for details.

The Resource Packs examples are based on Terraform and are meant to be used with the Humanitec Terraform Provider . Scroll down in each example to find the sample .tf files and integrate their content into your own Terraform code base.


Blob Storage

Azure Workload identity Multiple access classes Remote terraform state
This example configures an azure-blob and an azure-blob-account Resource Definition to enable workloads to use Azure Blob Storage. (...)

Config

Aws Imagepullsecret Humanitec operator Imagepullsecret
This example configures a config Resource Definition, which injects an imagePullSecret into workloads. An imagePullSecret is required when the k8s cluster runs outside AWS and workload use private ECR images. (...)

Dns

Aws
This example configures a dns Resource Definition using AWS Route 53. A workload using the dns resource to create dns records looks like: (...)

Dns

Azure
This example configures a dns Resource Definition using Azure Cloud DNS. (...)

Dns

Gcp
This example configures a dns Resource Definition using GCP Cloud DNS. A workload using the dns resource to create dns records looks like: (...)

Gcp Pubsub

Gcp Workload identity Multiple access classes
This example configures a gcp-pubsub-topic and a gcp-pubsub-subscription Resource Definition using Google Cloud Pub/Sub. (...)

Gcs

Gcp Workload identity Multiple access classes
This example configures a gcs Resource Definition using Google Cloud Storage, with two different access policies: (...)

Mongodb

In Cluster
This example configures a mongodb Resource Definition using Kubernetes Deployment. (...)

Mysql

Aws Aurora
This example configures a mysql Resource Definition using AWS RDS Aurora. A workload using the mysql resource to create database instance looks like: (...)

Mysql

Aws Basic
This example configures a mysql Resource Definition using AWS RDS. A workload using the mysql resource to create database instance looks like: (...)

Mysql

Azure
This example configures a mysql Resource Definition using Azure Database for MySQL. (...)

Mysql

Gcp Shared instance Static database authentication
This example configures a mysql Resource Definition using GCP CloudSQL. A workload using the mysql resource to create database instance looks like: (...)

Mysql

In Cluster
This example configures a mysql Resource Definition using Kubernetes StatefulSet. (...)

Postgres

Aws Aurora
This example configures a postgres Resource Definition using AWS RDS Aurora. A workload using the postgres resource to create database instance looks like: (...)

Postgres

Aws Basic
This example configures a postgres Resource Definition using AWS RDS. A workload using the postgres resource to create database instance looks like: (...)

Postgres

Azure Shared instance
Using this examples requires the “Enable Private Endpoints for PostgreSQL flexible servers” preview feature to be enabled . (...)

Postgres

Gcp Shared instance Iam database authentication Workload identity
This example configures a postgres Resource Definition using GCP CloudSQL. A workload using the postgres resource to create database instance looks like: (...)

Postgres

In Cluster
This example configures a postgres Resource Definition using Kubernetes StatefulSet. (...)

Rabbitmq

In Cluster
This example configures a RabbitMQ - type AMQP Resource Definition using Kubernetes StatefulSet. (...)
This example configures a redis Resource Definition using AWS ElastiCache. A workload using the redis resource to create redis cluster looks like: (...)

Redis

Azure
This example configures a redis Resource Definition using Azure Cache for Redis. (...)

Redis

Gcp Basic
This example configures a redis Resource Definition using GCP Memorystore. A workload using the redis resource to create redis cluster looks like: (...)

Redis

In Cluster
This example configures a redis Resource Definition using Kubernetes Deployment. (...)

S3

Aws Workload identity Multiple access classes
This example configures a s3 Resource Definition using AWS S3, with two different access policies: (...)

Service Bus

Azure Workload identity Multiple access classes
This example configures a azure-service-bus-queue Resource Definition using Azure Service Bus, with two different access policies: (...)

Sqs

Aws Workload identity Multiple access classes
This example configures a sqs Resource Definition using AWS SQS, with two different access policies: (...)
Top