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
@@ -18,10 +18,75 @@ For this code to function without errors, I created an OpenID connect identity p
18
18
<br />I stored the ARN of the IAM Role as a GitHub secret which is referred in the [`terraform.yml`](https://github.com/kunduso/amazon-elasticache-redis-tf/blob/eb148db2b9ff37cff9f1fb469d0c14b6479bd57a/.github/workflows/terraform.yml#L42) file.
19
19
<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.
20
20
<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 |
73
+
| <aname="input_name"></a> [name](#input\_name)| The name of the application. |`string`|`"app-4"`| no |
74
+
| <aname="input_region"></a> [region](#input\_region)| AWS Cloud infrastructure region. |`string`|`"us-east-2"`| no |
75
+
| <aname="input_secret_key"></a> [secret\_key](#input\_secret\_key)| The secret\_key that belongs to the IAM user. |`string`|`""`| no |
76
+
| <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 |
77
+
| <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 |
78
+
| <aname="input_vpc_cidr"></a> [vpc\_cidr](#input\_vpc\_cidr)| CIDR for the VPC. |`string`|`"10.20.32.0/25"`| no |
79
+
80
+
## Outputs
81
+
82
+
No outputs.
83
+
<!-- END_TF_DOCS -->
21
84
## Usage
22
85
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.
23
86
24
87
<br />Review the code including the [`terraform.yml`](./.github/workflows/terraform.yml) to understand the steps in the GitHub Actions pipeline. Also review the terraform code to understand all the concepts associated with creating an AWS VPC, subnets, internet gateway, route table, and route table association.
25
88
<br />If you want to check the pipeline logs, click on the **Build Badge** (terrform-infra-provisioning) above the image in this ReadMe.
89
+
## Contributing
90
+
If you find any issues or have suggestions for improvement, feel free to open an issue or submit a pull request. Contributions are always welcome!
26
91
## License
27
92
This code is released under the Unlincse License. See [LICENSE](LICENSE).
0 commit comments