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

	return "", fmt.Errorf("Unable to get customer master key id")
}
// GetCreatedKMSCMKID returns the master key id for the created KMS Key from the
// cloudformation stack output
GetCreatedKMSCMKID returns the master key id for the created KMS Key from the
cloudformation stack output
// GetCreatedKMSCMKID returns the master key id for the created KMS Key from the // cloudformation stack output
func GetCreatedKMSCMKID(stack *cloudformation.Stack) (string, error) {
	for _, output := range stack.Outputs {
		if aws.StringValue(output.OutputKey) == OutputMasterKey {
			return aws.StringValue(output.OutputValue), nil
		}
	}
	return "", fmt.Errorf("Unable to get customer master key id")
}
func GetCreatedKMSCMKID ( stack * cloudformation . Stack ) ( string , error ) { for _ , output := range stack . Outputs { if aws . StringValue ( output . OutputKey ) == OutputMasterKey { return aws . StringValue ( output . OutputValue ) , nil } } return " " , fmt . Errorf ( " " ) }
GetCreatedKMSCMKID returns the master key id for the created KMS Key from the
cloudformation stack output
GetCreatedKMSCMKID returns the master key id for the created KMS Key from the cloudformation stack output