func GetCreatedSecretsTableName(stack *cloudformation.Stack) (string, error) {
	for _, output := range stack.Outputs {
		if aws.StringValue(output.OutputKey) == OutputSecretsDynamoTable {
			return aws.StringValue(output.OutputValue), nil
		}
	}

	return "", fmt.Errorf("Unable to get secrets table name")
}
// GetSecretsTableName returns the dynamodb table created for storing secrets from
// the cloudformation stack output
GetSecretsTableName returns the dynamodb table created for storing secrets from
the cloudformation stack output
// GetSecretsTableName returns the dynamodb table created for storing secrets from // the cloudformation stack output
func GetCreatedSecretsTableName(stack *cloudformation.Stack) (string, error) {
	for _, output := range stack.Outputs {
		if aws.StringValue(output.OutputKey) == OutputSecretsDynamoTable {
			return aws.StringValue(output.OutputValue), nil
		}
	}
	return "", fmt.Errorf("Unable to get secrets table name")
}
func GetCreatedSecretsTableName ( stack * cloudformation . Stack ) ( string , error ) { for _ , output := range stack . Outputs { if aws . StringValue ( output . OutputKey ) == OutputSecretsDynamoTable { return aws . StringValue ( output . OutputValue ) , nil } } return " " , fmt . Errorf ( " " ) }
GetSecretsTableName returns the dynamodb table created for storing secrets from
the cloudformation stack output
GetSecretsTableName returns the dynamodb table created for storing secrets from the cloudformation stack output