Skip to content
This repository has been archived by the owner on Jul 23, 2022. It is now read-only.

collinmcneese/tf_cm_share

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tf_cm_share

Terraform configuration examples for standing up demo environments. This should not be used to stand up real, production environments.

Modules Included

  • modules/a2_with_clients : Used to create an all-in-one Chef Automate (plus Chef Infra Server & Habitat Builder) server along with clients which are bootstrapped to the server on AWS. Also creates associated security groups which will be needed for the instances.

Usage

a2_with_clients

Getting Started

  • Perform work from the a2_with_clients top-level directory.
  • Copy main.tf.example to be main.tf and update all values.
  • run terraform init

Working with the Infrastructure

  • verify that aws cli is installed and you are properly authenticated.
  • Populate values in created main.tf which was copied from main.tf.example.
  • Execute terraform plan to confirm there are no errors.
  • Execute terraform apply to build the infrastructure. This will create with module source of modules/a2_with_clients. Once completed, it will also create a local .chef directory at the current location, allowing for knife access to the Chef Infra Server instance. Total creation time is ~10 minutes.
  • Execute terraform destroy when completed to clean-up any resources created.

About

Shared Terraform modules for Chef lab configurations

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published