1
0

chore: renamed layers

This commit is contained in:
xpk
2026-02-13 17:48:17 +08:00
parent a11eaf25cc
commit 958e4977e9
15 changed files with 4 additions and 0 deletions
+69
View File
@@ -0,0 +1,69 @@
<!-- This readme file is generated with terraform-docs -->
# rds-mysql-proxy
Create vpc, rds, dbproxy, and a bastion
## Requirements
| Name | Version |
|------|---------|
| terraform | >= 1.3.0 |
| aws | >= 5.4.0 |
## Providers
| Name | Version |
|------|---------|
| aws | 6.32.0 |
| random | 3.8.1 |
| tls | 4.2.1 |
## Modules
| Name | Source | Version |
|------|--------|---------|
| BastionRole | ../../modules/security_identity_compliance/iam-role-v2 | n/a |
| db | terraform-aws-modules/rds/aws | 7.1.0 |
| dbproxy-role | ../../modules/security_identity_compliance/iam-role-v2 | n/a |
| eks-bastion | ../../modules/compute/ec2 | n/a |
| vpc | terraform-aws-modules/vpc/aws | 6.6.0 |
## Resources
| Name | Type |
|------|------|
| [aws_db_proxy.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_proxy) | resource |
| [aws_db_proxy_default_target_group.dbproxy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_proxy_default_target_group) | resource |
| [aws_db_proxy_target.dbproxy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_proxy_target) | resource |
| [aws_iam_role_policy_attachment.BastionProfilePermissions](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) | resource |
| [aws_key_pair.kp](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/key_pair) | resource |
| [aws_secretsmanager_secret.dbproxy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/secretsmanager_secret) | resource |
| [aws_secretsmanager_secret_version.dbproxy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/secretsmanager_secret_version) | resource |
| [aws_security_group.bastion-sg](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group) | resource |
| [aws_security_group.dbproxy-sg](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group) | resource |
| [aws_security_group.rds-sg](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group) | resource |
| [random_pet.this](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/pet) | resource |
| [random_shuffle.Select2Az](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/shuffle) | resource |
| [tls_private_key.sshkey](https://registry.terraform.io/providers/hashicorp/tls/latest/docs/resources/private_key) | resource |
| [aws_ami.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ami) | data source |
| [aws_availability_zones.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/availability_zones) | data source |
| [aws_secretsmanager_secret_version.dbsecret](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/secretsmanager_secret_version) | data source |
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| environment | n/a | `string` | `"lab"` | no |
## Outputs
| Name | Description |
|------|-------------|
| bastion-ip | n/a |
| dbproxy-endpoint | n/a |
| mysql-admin-cred | n/a |
| mysql-host | n/a |
---
## Authorship
This module was developed by xpk.