Accessing code repositories (see our Resources page section for more links.
a) Onboard to SHIP-HATS.
b) Access different repositories
- Module repository: Terraform modules designed for specific Cloud resources and services.
- Sample application repositories: Simple and fully functional application code that demonstrates various architectural patterns and uses modules from the repository.
c) To begin, refer to the sample application deployments for a step-by-step guide on setting up an AWS S3 backend for Terraform state files. Basic Terraform knowledge is required.
Using modules in the module registry
Identify the required module and add its link to the module repository as the source parameter.
a) Details about the modules, including their input and output parameters, are available in the module repository.
b) An example of using the Virtual Private Cloud (VPC) module to set up a VPC.
module "vpc" {
source = "git::ssh://git@bitbucket-ssh.ship.gov.sg:7999/cloudfuqzk/siac-modules.git//modules/vpc?ref=v0.1.0-alpha"
project_name = local.project_name
vpc_cidr_block = local.vpc_cidr_block
# 90 days as indicated on IM8 Infra Security
retention_in_days = 90
kms_key_id = module.log_group_kms.arn
}
Contributing to repositories
Contributions are encouraged, and users can initiate the review process by submitting a Pull Request. For detailed instructions, please refer to the respective repositories.
Thanks for letting us know that this page is useful for you!
If you've got a moment, please tell us what we did right so that we can do more of it.
Did this page help you? - No
Thanks for letting us know that this page still needs work to be done.
If you've got a moment, please tell us how we can make this page better.
Customisable Templates That Enable Robust, Automated, and Compliant Cloud Infrastructure Management