lib/iapi-idlc-sdk-pfm.rb



require 'mixlib/cli'
require 'mixlib/shellout'
require 'packer/binary'
require 'terraform/binary'

require 'iapi-idlc-sdk-core'
require 'iapi-idlc-sdk-build'
require 'iapi-idlc-sdk-deploy'

require 'iapi-idlc-sdk-pfm/version'
require 'iapi-idlc-sdk-pfm/settings'
require 'iapi-idlc-sdk-pfm/helpers'
require 'iapi-idlc-sdk-pfm/cli'
require 'iapi-idlc-sdk-pfm/commands_map'
require 'iapi-idlc-sdk-pfm/builtin_commands'

# Default region
ENV['AWS_REGION'] = 'us-east-1' unless ENV['AWS_REGION']

# Load config file as mapp of strings ex. SETTINGS[ 'AWS_REGION' ] = 'us-east-1'
SETTINGS = Pfm::Settings.new(true).settings_strings

# Global repository version file
REPO_VERSION_FILE = 'version'.freeze

# Load the current repository version number
REPO_VERSION = Idlc::Utility.set_global_version(REPO_VERSION_FILE)