Brad Poulton dbef54e648 Adds enable_webhook to disable webhook 3 tahun lalu
..
README.md 365784c4c5 Improves Codebuild Projects 3 tahun lalu
constants.tf 7a08ba10cf Migrated most variables out of xdr-terraform-live and into xdr-terraform-modules 3 tahun lalu
ghe-key.tf 6db5ae4486 Adds Codebuild for Packer builds 3 tahun lalu
globals.tf 7a08ba10cf Migrated most variables out of xdr-terraform-live and into xdr-terraform-modules 3 tahun lalu
iam.tf 7a08ba10cf Migrated most variables out of xdr-terraform-live and into xdr-terraform-modules 3 tahun lalu
main.tf dbef54e648 Adds enable_webhook to disable webhook 3 tahun lalu
output.tf 6db5ae4486 Adds Codebuild for Packer builds 3 tahun lalu
s3.tf 6db5ae4486 Adds Codebuild for Packer builds 3 tahun lalu
s3_binaries.tf 7a08ba10cf Migrated most variables out of xdr-terraform-live and into xdr-terraform-modules 3 tahun lalu
security-group.tf 7a08ba10cf Migrated most variables out of xdr-terraform-live and into xdr-terraform-modules 3 tahun lalu
vars.tf 7a08ba10cf Migrated most variables out of xdr-terraform-live and into xdr-terraform-modules 3 tahun lalu

README.md

Codebuild_xdr_lcp

This module is used to create an OCI LCP image with codebuild, an AMI, and a baremetal AWS instance. This is prefered to creating the VM on personal Laptops. For OCI and VMware LCP images, the images can not be created in AWS. It uses the Terraform GitHub Provider and requires a Personal Access Token. This should be your Personal Access Token not mdr-aws-codebuild's token (see how-to below). The provider will look in the environmental variables for the token.

export GITHUB_TOKEN=<gihub_token>

See xdr-images/base/rhel7/oci/README.md for more information.

Assumptions:

  • AWS Secrets Manager has the github Personal Access Token.
  • AWS Secrets Manager has the private key and passphrase for msoc-build SSH key.