You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+74Lines changed: 74 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,80 @@ For this code to function without errors, I created an **OpenID connect** identi
29
29
<br />Since I used Infracost in this repository, I stored the `INFRACOST_API_KEY` as a repository secret. It is referenced in the [`terraform.yml`](https://github.com/kunduso/amazon-elasticache-redis-tf/blob/eb148db2b9ff37cff9f1fb469d0c14b6479bd57a/.github/workflows/terraform.yml#L52) GitHub actions workflow file.
30
30
<br />As part of the Infracost integration, I also created a `INFRACOST_API_KEY` and stored that as a GitHub Actions secret. I also managed the cost estimate process using a GitHub Actions variable `INFRACOST_SCAN_TYPE` where the value is either `hcl_code` or `tf_plan`, depending on the type of scan desired.
| <aname="input_access_key"></a> [access\_key](#input\_access\_key)| The access\_key that belongs to the IAM user. |`string`|`""`| no |
94
+
| <aname="input_ami_name"></a> [ami\_name](#input\_ami\_name)| The ami name of the image from where the instances will be created |`list(string)`| <pre>[<br/> "amzn2-ami-amd-hvm-2.0.20230727.0-x86_64-gp2"<br/>]</pre> | no |
95
+
| <aname="input_instance_type"></a> [instance\_type](#input\_instance\_type)| The instance type of the EC2 instances |`string`|`"t3.medium"`| no |
96
+
| <aname="input_name"></a> [name](#input\_name)| The name of the application. |`string`|`"app-4"`| no |
97
+
| <aname="input_region"></a> [region](#input\_region)| AWS Cloud infrastructure region. |`string`|`"us-east-2"`| no |
98
+
| <aname="input_secret_key"></a> [secret\_key](#input\_secret\_key)| The secret\_key that belongs to the IAM user. |`string`|`""`| no |
99
+
| <aname="input_subnet_cidr_private"></a> [subnet\_cidr\_private](#input\_subnet\_cidr\_private)| CIDR blocks for the private subnets. |`list(any)`| <pre>[<br/> "10.20.32.0/27",<br/> "10.20.32.32/27",<br/> "10.20.32.64/27"<br/>]</pre> | no |
100
+
| <aname="input_subnet_cidr_public"></a> [subnet\_cidr\_public](#input\_subnet\_cidr\_public)| CIDR blocks for the public subnets. |`list(any)`| <pre>[<br/> "10.20.32.96/27"<br/>]</pre> | no |
101
+
| <aname="input_vpc_cidr"></a> [vpc\_cidr](#input\_vpc\_cidr)| CIDR for the VPC. |`string`|`"10.20.32.0/25"`| no |
102
+
103
+
## Outputs
104
+
105
+
No outputs.
32
106
<!-- END_TF_DOCS -->
33
107
## Usage
34
108
Ensure that the policy attached to the IAM role whose credentials are being used in this configuration has permission to create and manage all the resources that are included in this repository.
0 commit comments