Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ochmang/terraformfix al2023 #159

Merged
merged 6 commits into from
Jul 29, 2024
Merged

Ochmang/terraformfix al2023 #159

merged 6 commits into from
Jul 29, 2024

Conversation

GrzesiekO
Copy link
Contributor

Summary
Changes
This pull request updates the p4_configure.sh script and the Terraform module configurations for the Helix Core resources. The key changes include:

Added a new function to the p4_configure.sh script that appends the newly mounted EBS volumes or FSx mount points to the /etc/fstab file. This ensures the mounts persist across reboots.
Updated the Terraform module configurations to align with the changes made to the p4_configure.sh script.

User experience
Before this change, the mounts created by the p4_configure.sh script would not persist across reboots, requiring manual intervention to remount the volumes. After this change, the mounts will be automatically remounted on system restart, providing a more seamless user experience.

Checklist
[x] I have performed a self-review of this change
[x] Changes have been tested
[x] Changes are documented

Is this a breaking change? No, this change is not a breaking change. It enhances the existing functionality without modifying the core behavior of the system.

Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This commit adds support for running the application on Amazon Linux 2023.
The necessary configuration changes have been made to the deployment scripts and
the application has been tested to ensure compatibility with the new platform.
Especially in terraform so it properly refernces new AMI.
Updated the p4_configure.sh script to include a new function that appends
the newly mounted EBS volumes or FSx mount points to the /etc/fstab file.
This ensures the mounts persist across reboots.

Also made some minor updates to the Terraform module configurations for
the Helix Core resources to align with the script changes.
@@ -35,7 +35,7 @@ resource "aws_instance" "helix_core_instance" {

user_data = <<-EOT
#!/bin/bash
/home/rocky/p4_configure.sh /dev/nvme1n1 /dev/nvme2n1 /dev/nvme3n1 \
/home/ec2-user/gpic_scripts/p4_configure.sh /dev/sdf /dev/sdg /dev/sdh \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would rename directory "cloud-game-development-toolkit"

Copy link
Member

@kylesomers kylesomers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see inline for requested change on directory naming of gpic_scripts

This commit adds support for running the application on Amazon Linux 2023.
The necessary configuration changes have been made to the deployment scripts and
the application has been tested to ensure compatibility with the new platform.
Especially in terraform so it properly refernces new AMI.
Updated the p4_configure.sh script to include a new function that appends
the newly mounted EBS volumes or FSx mount points to the /etc/fstab file.
This ensures the mounts persist across reboots.

Also made some minor updates to the Terraform module configurations for
the Helix Core resources to align with the script changes.
@henrykie henrykie merged commit 3478b08 into main Jul 29, 2024
6 checks passed
@henrykie henrykie deleted the ochmang/terraformfixAL2023 branch August 9, 2024 15:02
jcwolfaws pushed a commit to jcwolfaws/cloud-game-development-toolkit that referenced this pull request Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants