terraform

Welcome to terraform module. This will help in centring and installing terraform binary along with aws cli to manage AWS cloud.

Table of Contents

  1. Description
  2. Variables

Description

Welcome to terraform module. This will help in centring and installing terraform binary along with aws cli to manage AWS cloud.

Variables

If one is not using anything special, this is written towards general systemd based systems and in terraformcode.pp the general default values will do default installation.

For aws.pp there are particular variables that require some values which can be used as below:

In hiera:

terraform::aws::aws_access_key_id_var: 'AKIAXJC2VJ3565328EO'
terraform::aws::aws_secret_access_key_var: 'smj2n6fY95cs46ZjewDpWFAu+EelRk'
terraform::aws::aws_credential_file: '/root/.aws/credentials'

In Puppet edit terraform/manifests/aws.pp

    $aws_access_key_id_var          =       'AKIAXJC2VJLMQPZ7EPON',
        $aws_secret_access_key_var      =       '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',
        $aws_credentail_directory       =       '/root/.aws',
        $aws_credential_file            =       '/root/.aws/credentials',