-
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delay filename outputs until files exist (#42)
* Delay filename outputs until files exist. * retry * Executed 'terraform fmt' * Updated README.md * compatibility w/ `var.generate_ssh_key == false` Co-authored-by: actions-bot <58130806+actions-bot@users.noreply.github.com>
- Loading branch information
1 parent
c0ffe4d
commit f8e37b1
Showing
3 changed files
with
83 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,45 @@ | ||
## Requirements | ||
|
||
| Name | Version | | ||
|------|---------| | ||
| terraform | ~> 0.12.0 | | ||
| aws | ~> 2.0 | | ||
| local | ~> 1.3 | | ||
| null | ~> 2.1 | | ||
| tls | ~> 2.0 | | ||
|
||
## Providers | ||
|
||
| Name | Version | | ||
|------|---------| | ||
| aws | ~> 2.0 | | ||
| local | ~> 1.3 | | ||
| tls | ~> 2.0 | | ||
|
||
## Inputs | ||
|
||
| Name | Description | Type | Default | Required | | ||
|------|-------------|:----:|:-----:|:-----:| | ||
| attributes | Additional attributes (e.g. `1`) | list(string) | `<list>` | no | | ||
| delimiter | Delimiter to be used between `namespace`, `environment`, `stage`, `name` and `attributes` | string | `-` | no | | ||
| environment | Environment, e.g. 'prod', 'staging', 'dev', 'pre-prod', 'UAT' | string | `` | no | | ||
| generate_ssh_key | If set to `true`, new SSH key pair will be created | bool | `false` | no | | ||
| name | Solution name, e.g. 'app' or 'jenkins' | string | `` | no | | ||
| namespace | Namespace, which could be your organization name or abbreviation, e.g. 'eg' or 'cp' | string | `` | no | | ||
| private_key_extension | Private key extension | string | `` | no | | ||
| public_key_extension | Public key extension | string | `.pub` | no | | ||
| ssh_key_algorithm | SSH key algorithm | string | `RSA` | no | | ||
| ssh_public_key_path | Path to SSH public key directory (e.g. `/secrets`) | string | - | yes | | ||
| stage | Stage, e.g. 'prod', 'staging', 'dev', OR 'source', 'build', 'test', 'deploy', 'release' | string | `` | no | | ||
| tags | Additional tags (e.g. `map('BusinessUnit','XYZ')` | map(string) | `<map>` | no | | ||
|------|-------------|------|---------|:--------:| | ||
| attributes | Additional attributes (e.g. `1`) | `list(string)` | `[]` | no | | ||
| delimiter | Delimiter to be used between `namespace`, `environment`, `stage`, `name` and `attributes` | `string` | `"-"` | no | | ||
| environment | Environment, e.g. 'prod', 'staging', 'dev', 'pre-prod', 'UAT' | `string` | `""` | no | | ||
| generate\_ssh\_key | If set to `true`, new SSH key pair will be created | `bool` | `false` | no | | ||
| name | Solution name, e.g. 'app' or 'jenkins' | `string` | `""` | no | | ||
| namespace | Namespace, which could be your organization name or abbreviation, e.g. 'eg' or 'cp' | `string` | `""` | no | | ||
| private\_key\_extension | Private key extension | `string` | `""` | no | | ||
| public\_key\_extension | Public key extension | `string` | `".pub"` | no | | ||
| ssh\_key\_algorithm | SSH key algorithm | `string` | `"RSA"` | no | | ||
| ssh\_public\_key\_path | Path to SSH public key directory (e.g. `/secrets`) | `string` | n/a | yes | | ||
| stage | Stage, e.g. 'prod', 'staging', 'dev', OR 'source', 'build', 'test', 'deploy', 'release' | `string` | `""` | no | | ||
| tags | Additional tags (e.g. `map('BusinessUnit','XYZ')` | `map(string)` | `{}` | no | | ||
|
||
## Outputs | ||
|
||
| Name | Description | | ||
|------|-------------| | ||
| key_name | Name of SSH key | | ||
| private_key | Content of the generated private key | | ||
| private_key_filename | Private Key Filename | | ||
| public_key | Content of the generated public key | | ||
| public_key_filename | Public Key Filename | | ||
| key\_name | Name of SSH key | | ||
| private\_key | Content of the generated private key | | ||
| private\_key\_filename | Private Key Filename | | ||
| public\_key | Content of the generated public key | | ||
| public\_key\_filename | Public Key Filename | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters