Skip to content

Commit

Permalink
Merge branch 'main' of github.com:nanlabs/terraform-aws-starter
Browse files Browse the repository at this point in the history
* 'main' of github.com:nanlabs/terraform-aws-starter:
  Update connect.sh
  Update README.md
  terraform-docs: automated action
  • Loading branch information
ulises-jeremias committed Oct 15, 2024
2 parents 55a3a14 + 9724aa2 commit 28dfbbe
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions modules/bastion/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,10 +253,7 @@ Solution:
## Additional Resources
- [AWS Systems Manager Session Manager](https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager.html)
- [Amazon EC2 Instance Connect](<https://docs>
.aws.amazon.com/AWSEC2/latest/UserGuide/Connect-using-EC2-Instance-Connect.html)
- [Amazon EC2 Instance Connect](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Connect-using-EC2-Instance-Connect.html)
- [Enabling SSH connections through Session Manager](https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-getting-started-enable-ssh-connections.html#ssh-connections-enable)
## Module Documentation
Expand Down
1 change: 0 additions & 1 deletion modules/bastion/scripts/connect.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ ssh_proxy_command_option="ProxyCommand sh -c \"aws ssm start-session --target %h
if [[ -z "$tunnel" ]]; then
echo "Connecting to Bastion host using SSH through Session Manager..."
ssh -i "$SSH_KEY_PATH" -o "$ssh_proxy_command_option" "$BASTION_USER@$instance_id"
echo "Connection to Bastion host established."
exit 0
fi

Expand Down
2 changes: 1 addition & 1 deletion modules/rds/docs/MODULE.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@
| <a name="output_db_subnet_group_arn"></a> [db\_subnet\_group\_arn](#output\_db\_subnet\_group\_arn) | The ARN of the db subnet group |
| <a name="output_db_subnet_group_id"></a> [db\_subnet\_group\_id](#output\_db\_subnet\_group\_id) | The db subnet group name |
| <a name="output_enhanced_monitoring_iam_role_arn"></a> [enhanced\_monitoring\_iam\_role\_arn](#output\_enhanced\_monitoring\_iam\_role\_arn) | The Amazon Resource Name (ARN) specifying the monitoring role |
<!-- END_TF_DOCS -->
<!-- END_TF_DOCS -->
1 change: 1 addition & 0 deletions modules/vpc/docs/MODULE.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,6 @@
| <a name="output_ssm_parameter_private_subnets"></a> [ssm\_parameter\_private\_subnets](#output\_ssm\_parameter\_private\_subnets) | name of the ssm parameter for the private subnets |
| <a name="output_ssm_parameter_public_subnets"></a> [ssm\_parameter\_public\_subnets](#output\_ssm\_parameter\_public\_subnets) | name of the ssm parameter for the public subnets |
| <a name="output_ssm_parameter_vpc_id"></a> [ssm\_parameter\_vpc\_id](#output\_ssm\_parameter\_vpc\_id) | name of the ssm parameter for the vpc id |
| <a name="output_vpc_cidr_block"></a> [vpc\_cidr\_block](#output\_vpc\_cidr\_block) | value of the vpc\_cidr\_block output from the vpc module |
| <a name="output_vpc_id"></a> [vpc\_id](#output\_vpc\_id) | value of the vpc\_id output from the vpc module |
<!-- END_TF_DOCS -->

0 comments on commit 28dfbbe

Please sign in to comment.