func CheckCloudAddFlagsForAWS(externalID, roleArn, roleName, environment string) error {
	if (externalID == "" || roleArn == "") && roleName == "" {
		return fmt.Errorf("Please either provide both externalID and roleArn or the name of the new role ")
	}
	return checkEnvironment(environment)
}
// CheckCloudAddFlags flag check for cloud add command when adding AWS cloud account
CheckCloudAddFlags flag check for cloud add command when adding AWS cloud account
// CheckCloudAddFlags flag check for cloud add command when adding AWS cloud account
func CheckCloudAddFlagsForAWS(externalID, roleArn, roleName, environment string) error {
	if (externalID == "" || roleArn == "") && roleName == "" {
		return fmt.Errorf("Please either provide both externalID and roleArn or the name of the new role ")
	}
	return checkEnvironment(environment)
}
func CheckCloudAddFlagsForAWS ( externalID , roleArn , roleName , environment string ) error { if ( externalID == " " || roleArn == " " ) && roleName == " " { return fmt . Errorf ( " " ) } return checkEnvironment ( environment ) }
CheckCloudAddFlags flag check for cloud add command when adding AWS cloud account
CheckCloudAddFlags flag check for cloud add command when adding AWS cloud account