# Functions
CreateDynamoDBClient creates an authenticated client for DynamoDB.
CreateLockTable creates a lock table in DynamoDB and wait until it is in "active" state.
CreateLockTableIfNecessary creates the lock table in DynamoDB if it doesn't already exist.
DeleteTable deletes the given table in DynamoDB.
LockTableCheckSSEncryptionIsOn returns true if the lock table's SSEncryption is turned on.
LockTableExistsAndIsActive returns true if the lock table exists in DynamoDB and is in "active" state.
NewCountingSemaphore is a bare-bones counting semaphore implementation based on: http://www.golangpatterns.info/concurrency/semaphores.
UpdateLockTableSetSSEncryptionOnIfNecessary encrypts the TFState Lock table - If Necessary.
WaitForTableToBeActiveWithRandomSleep waits for the given table as described above, but sleeps a random amount of time greater than sleepBetweenRetriesMin and less than sleepBetweenRetriesMax between tries.
# Constants
AttrLockID is the name of the primary key for the lock table in DynamoDB.
DynamodbPayPerRequestBillingMode is the billing mode for DynamoDB tables that allows for pay-per-request billing instead of provisioned capacity.
MaxRetriesWaitingForTableToBeActive is the maximum number of times we will retry waiting for a table to be active.
SleepBetweenTableStatusChecks is the amount of time we will sleep between checks to see if a table is active.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author